DeviceIdentifier

public protocol DeviceIdentifier : Sendable

A protocol that defines a unique identifier for a device.

  • id Asynchronous

    Returns a unique identifier for the device.

    Declaration

    Swift

    var id: String { get async throws }