LocalDevice
public struct LocalDevice
extension LocalDevice: Equatable, Hashable
Local device that’s connecting to FxA
This is returned by the device update methods and represents the server’s view of the local device.
-
Declaration
Swift
public var id: String
-
Declaration
Swift
public var displayName: String
-
Declaration
Swift
public var deviceType: DeviceType
-
Declaration
Swift
public var capabilities: [DeviceCapability]
-
Declaration
Swift
public var pushSubscription: DevicePushSubscription?
-
Declaration
Swift
public var pushEndpointExpired: Bool
-
Declaration
Swift
public init(id: String, displayName: String, deviceType: DeviceType, capabilities: [DeviceCapability], pushSubscription: DevicePushSubscription?, pushEndpointExpired: Bool)
-
Declaration
Swift
public static func == (lhs: LocalDevice, rhs: LocalDevice) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)