SDKDeviceConnectionState

Representation of a single SDKDeviceConnectionState Methods in states can only be called ONCE. Calling a method more than once will result in an SDKFunctionWasConsumedException

Inheritors

Types

Link copied to clipboard
class Connected(val device: SDKDevice, val deviceInfo: SDKDeviceInfo, disconnectFn: () -> Unit) : SDKDeviceConnectionState

Device is connected

Link copied to clipboard

Device is not connected

Link copied to clipboard
Link copied to clipboard

Device is in used by another process. Device can be in connected or disconnected state while is in use.