DeviceSyncState

interface DeviceSyncState

Public interface for Device Sync State

Types

Link copied to clipboard
data class ConnectedDevice(val thisDevice: Boolean, val deviceName: String, val deviceId: String, val deviceType: DeviceSyncState.Type)

Representation of a device which is connected through sync.

Link copied to clipboard

Representation of the current sync account state, including whether signed in or not. If signed in, it also includes other data.

Link copied to clipboard

The device type for a device connected through sync.

Functions

Link copied to clipboard

Returns the sync account state

Link copied to clipboard
abstract fun isFeatureEnabled(): Boolean

Checks if feature should be visible to users.

Link copied to clipboard

Checks if user is signed in on this device.