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(@NotNull ICDevice device)deviceDidBecomeReady: This message is sent when the device is ready to receive requests.voiddeviceDidCloseSessionWithError(@NotNull ICDevice device, @Nullable NSError error)device:didCloseSessionWithError: This message is sent when a session is closed on a device.default voiddeviceDidEjectWithError(@NotNull ICDevice device, @Nullable NSError error)device:didEjectWithError: This message is sent to the device delegate when the eject has completed.default voiddeviceDidEncounterError(@NotNull ICDevice device, @Nullable NSError error)device:didEncounterError: This message is sent to the device delegate a device encounters an error.voiddeviceDidOpenSessionWithError(@NotNull ICDevice device, @Nullable NSError error)device:didOpenSessionWithError: This message is sent when a session is opened on a device.default voiddeviceDidReceiveStatusInformation(@NotNull ICDevice device, @NotNull NSDictionary<java.lang.String,?> status)device:didReceiveStatusInformation: This message is sent to the device delegate when status information is received from a device.voiddidRemoveDevice(@NotNull ICDevice device)didRemoveDevice: This message is sent to the delegate to inform that a device has been removed.
-
-
-
Method Detail
-
deviceDidCloseSessionWithError
void deviceDidCloseSessionWithError(@NotNull @NotNull ICDevice device, @Nullable @Nullable 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. API-Since: 13.0
-
deviceDidEjectWithError
default void deviceDidEjectWithError(@NotNull @NotNull ICDevice device, @Nullable @Nullable 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. API-Since: 13.0
-
deviceDidEncounterError
default void deviceDidEncounterError(@NotNull @NotNull ICDevice device, @Nullable @Nullable 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. API-Since: 13.0
-
deviceDidOpenSessionWithError
void deviceDidOpenSessionWithError(@NotNull @NotNull ICDevice device, @Nullable @Nullable 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. API-Since: 13.0
-
deviceDidReceiveStatusInformation
default void deviceDidReceiveStatusInformation(@NotNull @NotNull ICDevice device, @NotNull @NotNull 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. API-Since: 13.0
-
deviceDidBecomeReady
default void deviceDidBecomeReady(@NotNull @NotNull 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. API-Since: 13.0
-
didRemoveDevice
void didRemoveDevice(@NotNull @NotNull ICDevice device)didRemoveDevice: This message is sent to the delegate to inform that a device has been removed. API-Since: 13.0
-
-