RequestDeviceStatus


class RequestDeviceStatus


Indicates the status of a device request.

Summary

Constants

const Int

Indicates the device request was cancelled.

const Int
Error = 3

An error occurred during device creation.

const Int

The device was successfully created.

Public companion functions

String
toString(value: Int)

Constants

CallbackCancelled

const val CallbackCancelled = 2: Int

Indicates the device request was cancelled. This happens if the adapter becomes invalid or the instance is destroyed before the device is created.

Error

const val Error = 3: Int

An error occurred during device creation.

Success

const val Success = 1: Int

The device was successfully created.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String