public interface ICDeviceBrowserDelegate
A delegate of ICDeviceBrowser must conform to ICDeviceBrowserDelegate protocol.
| Modifier and Type | Method and Description |
|---|---|
default void |
deviceBrowserDeviceDidChangeName(ICDeviceBrowser browser,
ICDevice device)
deviceBrowser:deviceDidChangeName:
|
default void |
deviceBrowserDeviceDidChangeSharingState(ICDeviceBrowser browser,
ICDevice device)
deviceBrowser:deviceDidChangeSharingState:
|
void |
deviceBrowserDidAddDeviceMoreComing(ICDeviceBrowser browser,
ICDevice device,
boolean moreComing)
deviceBrowser:didAddDevice:moreComing:
|
default void |
deviceBrowserDidCancelSuspendOperations(ICDeviceBrowser browser)
deviceBrowserDidCancelSuspendOperations:
|
void |
deviceBrowserDidRemoveDeviceMoreGoing(ICDeviceBrowser browser,
ICDevice device,
boolean moreGoing)
deviceBrowser:didRemoveDevice:moreGoing:
|
default void |
deviceBrowserDidResumeOperations(ICDeviceBrowser browser)
deviceBrowserDidResumeOperations:
|
default void |
deviceBrowserDidSuspendOperations(ICDeviceBrowser browser)
deviceBrowserDidSuspendOperations:
|
default void |
deviceBrowserWillSuspendOperations(ICDeviceBrowser browser)
deviceBrowserWillSuspendOperations:
|
default void deviceBrowserDeviceDidChangeName(ICDeviceBrowser browser, ICDevice device)
This message is sent if the name of a device changes.
This happens if the device module overrides the default name of the device reported by the device's transport layer, or if the name of the filesystem volume mounted by the device is changed by the user.
default void deviceBrowserDeviceDidChangeSharingState(ICDeviceBrowser browser, ICDevice device)
This message is sent when the sharing state of a device has changes. [@discusson] Any Image Capture client application can choose to share the device over the network using the sharing or webSharing facility in Image Capture.
void deviceBrowserDidAddDeviceMoreComing(ICDeviceBrowser browser, ICDevice device, boolean moreComing)
This message is sent to the delegate to inform that a device has been added.
If several devices are found during the initial search, then this message is sent once for each device with the value of 'moreComing' set to YES in each message except the last one.
void deviceBrowserDidRemoveDeviceMoreGoing(ICDeviceBrowser browser, ICDevice device, boolean moreGoing)
This message is sent to the delegate to inform that a device has been removed.
If several devices are removed at the same time, then this message is sent once for each device with the value of 'moreGoing' set to YES in each message except the last one.
default void deviceBrowserDidCancelSuspendOperations(ICDeviceBrowser browser)
This message is sent to the delegate to inform that operations on devices in the browser have resumed before the suspension timeout.
All communcation with the attached device will remain available as the application was switched back to the foreground before the suspension timeout.
default void deviceBrowserDidResumeOperations(ICDeviceBrowser browser)
This message is sent to the delegate to inform that operations on devices in the browser have resumed.
All communcation with the attached device has been resumed as the application has now entered the foreground.
default void deviceBrowserDidSuspendOperations(ICDeviceBrowser browser)
This message is sent to the delegate to inform that operations on devices in the browser have been suspended.
All communcation with the attached device will remain suspended until the application has entered the foreground. In no way does this suspension modify the state of the connected device, nor does it issue a close session of any kind. State should always be managed by the application.
default void deviceBrowserWillSuspendOperations(ICDeviceBrowser browser)
This message is sent to the delegate to inform that operations on devices in the browser will be suspended shortly.
Attached devices may require time to prepare the device for suspended communication. This delegate method is called when the application is switched into the background.