RequestDeviceStatus


public final class RequestDeviceStatus


Indicates the status of a device request.

Summary

Constants

static final int

Indicates the device request was cancelled.

static final int
Error = 3

An error occurred during device creation.

static final int

The device was successfully created.

Public methods

static final @NonNull String
toString(int value)

Constants

CallbackCancelled

public static final int CallbackCancelled = 2

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

Error

public static final int Error = 3

An error occurred during device creation.

Success

public static final int Success = 1

The device was successfully created.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)