Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

EdsStreamMBS class

Super class: EdsBaseMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Canon EOS Digital MBS Cameras Plugin 12.1 Yes Yes Yes Yes No
Function: The class for a file/data stream.
Notes:
Use it to specify a destination for downloading image data or as source for reading data.
Subclass of the EdsBaseMBS class.

Feedback, Comments & Corrections

File Access Constants

Constant Value Description
kEdsAccess_Error -1 Error
kEdsAccess_Read 0 Open a read-only stream.
kEdsAccess_ReadWrite 2 Allow reading and writing.
kEdsAccess_Write 1 Open a write-only stream.

File Create Disposition Constants

Constant Value Description
kEdsFileCreateDisposition_CreateAlways 1 Creates a new file. If the designated file already exists, that file is overwritten and existing attributes is erased.
kEdsFileCreateDisposition_CreateNew 0 Creates a new file. An error occurs if the designated file already exists.
kEdsFileCreateDisposition_OpenAlways 3 If the file exists, it is opened. If the designated file does not exist, a new file is created.
kEdsFileCreateDisposition_OpenExisting 2 Opens a file. An error occurs if the designated file does not exist.
kEdsFileCreateDisposition_TruncateExsisting 4 Opens a file and sets the file size to 0 bytes.

Seek Origin Constants

Constant Value Description
kEdsSeek_Begin 1 Moves the file position indicator from the beginning of the stream forward by inOffset bytes.
kEdsSeek_Cur 0 Moves the file position indicator from the current position in the stream forward by inOffset bytes.
kEdsSeek_End 2 Moves the file position indicator from the end of the stream by offset bytes.
To move toward the beginning, designate a negative value.
Positive values will move the indicator beyond the end of the file.

Super class EdsBaseMBS

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS Cameras Plugin.


EdsSizeMBS   -   EdsTimeMBS




Links
MBS Xojo Chart Plugins