Device

data class Device(var id: String, var displayName: String, var deviceType: DeviceType, var capabilities: List<DeviceCapability>, var pushSubscription: DevicePushSubscription?, var pushEndpointExpired: Boolean, var isCurrentDevice: Boolean, var lastAccessTime: Long?)

A device connected to the user's account.

This struct provides metadata about a device connected to the user's account. This data would typically be used to display e.g. the list of candidate devices in a "send tab" menu.

Constructors

Link copied to clipboard
constructor(id: String, displayName: String, deviceType: DeviceType, capabilities: List<DeviceCapability>, pushSubscription: DevicePushSubscription?, pushEndpointExpired: Boolean, isCurrentDevice: Boolean, lastAccessTime: Long?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard