BoundDevice

public struct BoundDevice : Device

Struct representing a BoundDevice

  • id

    The ID of the device.

    Declaration

    Swift

    public let id: String
  • The name of the device.

    Declaration

    Swift

    public var deviceName: String
  • The URL suffix for the device.

    Declaration

    Swift

    public let urlSuffix: String
  • The device ID.

    Declaration

    Swift

    public let deviceId: String
  • The UUID of the device.

    Declaration

    Swift

    public let uuid: String
  • The creation date of the device.

    Declaration

    Swift

    public let createdDate: TimeInterval
  • The last access date of the device.

    Declaration

    Swift

    public let lastAccessDate: TimeInterval
  • Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

    Declaration

    Swift

    public init(from decoder: any Decoder) throws

    Parameters

    decoder

    The decoder to read data from.