EOSCameraDelegate Protocol Reference
Conforms to | NSObject |
Declared in | EOSCamera.h |
Overview
The EOSCameraDelegate protocol defines the optional methods implemented by the delegate of a camera.
Instance Methods
camera:didCreateFile:
Invoked when a file is created on a camera’s volume.
- (void)camera:(EOSCamera *)camera didCreateFile:(EOSFile *)file
Parameters
- camera
The camera that sent the message.
- file
The file that was created.
Declared In
EOSCamera.h
camera:didFormatVolume:
Invoked when a camera’s volume is formatted.
- (void)camera:(EOSCamera *)camera didFormatVolume:(EOSVolume *)volume
Parameters
- camera
The camera that sent the message.
- volume
The volume that was formatted.
Declared In
EOSCamera.h
camera:didModifyVolume:
Invoked when the info of a camera’s volume changes.
- (void)camera:(EOSCamera *)camera didModifyVolume:(EOSVolume *)volume
Parameters
- camera
The camera that sent the message.
- volume
The volume that was modified.
Declared In
EOSCamera.h
camera:didRemoveFile:
Invoked when a file is removed from a camera’s volume.
- (void)camera:(EOSCamera *)camera didRemoveFile:(EOSFile *)file
Parameters
- camera
The camera that sent the message.
- file
The file that was removed.
Declared In
EOSCamera.h
camera:supportedValuesDidChangeForProperty:
Invoked when the supported values of a camera’s property changes.
- (void)camera:(EOSCamera *)camera supportedValuesDidChangeForProperty:(EOSProperty)property
Parameters
- camera
The camera that sent the message.
- property
The property that has changed.
Declared In
EOSCamera.h
camera:valueDidChangeForProperty:
Invoked when the value of a camera’s property changes.
- (void)camera:(EOSCamera *)camera valueDidChangeForProperty:(EOSProperty)property
Parameters
- camera
The camera that sent the message.
- property
The property that has changed.
Declared In
EOSCamera.h
camera:willShutdownAfterDelay:
Invoked when a camera is soon going to shutdown.
- (void)camera:(EOSCamera *)camera willShutdownAfterDelay:(NSUInteger)delay
Parameters
- camera
The camera that is going to shutdown.
- delay
The time in seconds until the camera shutsdown.
Discussion
The time at which the camera issues the notification is model dependent, which is why the delay parameter is provided. To cancel the shutdown, send the EOSCameraCommand_ExtendShutdownTimer command to the camera.
Declared In
EOSCamera.h