MostRecentlyConnectedDevice

public struct MostRecentlyConnectedDevice

Describes the most recently connected device.

  • The UUID for the device

    Declaration

    Swift

    public let deviceId: UUID
  • Returns the most recently connected device or nil if there wasn’t a prior connection. The returned value can be used to reconnect to the most recently connected device by constructing a ConnectUIMode.reconnect(device)` instance and using it in the connection flow.

    Declaration

    Swift

    public static func get() -> MostRecentlyConnectedDevice?