<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageCaptureCore",
  "identifier" : "/documentation/ImageCaptureCore/ICDeviceDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "ImageCaptureCore"
    ],
    "preciseIdentifier" : "c:objc(pl)ICDeviceDelegate"
  },
  "title" : "ICDeviceDelegate"
}
-->

# ICDeviceDelegate

Methods for responding to device events and changes.

```
protocol ICDeviceDelegate : NSObjectProtocol
```

## Overview

Unless otherwise noted, all completion blocks execute on the calling thread.

## Topics

### Responding to Device Events

[`device(_:didOpenSessionWithError:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/device(_:didOpenSessionWithError:))

Tells the delegate when a session is opened on a device.

[`device(_:didCloseSessionWithError:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/device(_:didCloseSessionWithError:))

Tells the delegate when a session is closed on a device.

[`didRemove(_:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/didRemove(_:))

Tells the delegate that a device has been removed.

[`deviceDidBecomeReady(_:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/deviceDidBecomeReady(_:))

Tells the delegate when the device is ready to receive requests.

[`device(_:didReceiveStatusInformation:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/device(_:didReceiveStatusInformation:))

Tells the delegate when status information is received from a device.

[`device(_:didEncounterError:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/device(_:didEncounterError:))

Tells the delegate when a device encounters an error.

[`device(_:didEjectWithError:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/device(_:didEjectWithError:))

Tells the delegate when the ejection is complete.

### Responding to Device Changes

[`deviceDidChangeName(_:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/deviceDidChangeName(_:))

Tells the delegate when the name of a device changes.

[`deviceDidChangeSharingState(_:)`](/documentation/ImageCaptureCore/ICDeviceDelegate/deviceDidChangeSharingState(_:))

Tells the delegate when the sharing state of a device changes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)