Package apple.imagecapturecore.protocol
Interface ICDeviceDelegate
-
- All Known Subinterfaces:
ICCameraDeviceDelegate
public interface ICDeviceDelegate------------------------------------------------------------------------------------------------------------- ICDeviceDelegate [@protocol] ICDeviceDelegateA delegate of ICDevice must conform to ICDeviceDelegate protocol. [@note] Unless otherwise noted, all delegate callbacks will occur on the main thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voiddeviceDidBecomeReady(ICDevice device)deviceDidBecomeReady: This message is sent when the device is ready to receive requests.voiddeviceDidCloseSessionWithError(ICDevice device, NSError error)device:didCloseSessionWithError: This message is sent when a session is closed on a device.default voiddeviceDidEjectWithError(ICDevice device, NSError error)device:didEjectWithError: This message is sent to the device delegate when the eject has completed.default voiddeviceDidEncounterError(ICDevice device, NSError error)device:didEncounterError: This message is sent to the device delegate a device encounters an error.voiddeviceDidOpenSessionWithError(ICDevice device, NSError error)device:didOpenSessionWithError: This message is sent when a session is opened on a device.default voiddeviceDidReceiveStatusInformation(ICDevice device, NSDictionary<java.lang.String,?> status)device:didReceiveStatusInformation: This message is sent to the device delegate when status information is received from a device.voiddidRemoveDevice(ICDevice device)didRemoveDevice: This message is sent to the delegate to inform that a device has been removed.
-
-
-
Method Detail
-
deviceDidCloseSessionWithError
void deviceDidCloseSessionWithError(ICDevice device, NSError error)
device:didCloseSessionWithError: This message is sent when a session is closed on a device. This message completes the process initiated by the message "requestCloseSession" sent to the device object. This message is also sent if the device module in control of the device ceases to control the device. [@note] Execution of the delegate callback will occur on the main thread.
-
deviceDidEjectWithError
default void deviceDidEjectWithError(ICDevice device, NSError error)
device:didEjectWithError: This message is sent to the device delegate when the eject has completed. [@note] Execution of the delegate callback will occur on the main thread.
-
deviceDidEncounterError
default void deviceDidEncounterError(ICDevice device, NSError error)
device:didEncounterError: This message is sent to the device delegate a device encounters an error. [@note] Execution of the delegate callback will occur on the main thread.
-
deviceDidOpenSessionWithError
void deviceDidOpenSessionWithError(ICDevice device, NSError error)
device:didOpenSessionWithError: This message is sent when a session is opened on a device. This message completes the process initiated by the message "requestOpenSession" sent to the device object. [@note] Execution of the delegate callback will occur on the main thread.
-
deviceDidReceiveStatusInformation
default void deviceDidReceiveStatusInformation(ICDevice device, NSDictionary<java.lang.String,?> status)
device:didReceiveStatusInformation: This message is sent to the device delegate when status information is received from a device. The 'status' dictionary contains two keys, ICStatusNotificationKey and ICLocalizedStatusNotificationKey, which are defined above. Status information keys are located in their respective ICDevice type class header. [@note] Execution of the delegate callback will occur on the main thread.
-
deviceDidBecomeReady
default void deviceDidBecomeReady(ICDevice device)
deviceDidBecomeReady: This message is sent when the device is ready to receive requests. [@note] Execution of the delegate callback will occur on the main thread.
-
didRemoveDevice
void didRemoveDevice(ICDevice device)
didRemoveDevice: This message is sent to the delegate to inform that a device has been removed.
-
-