Stay organized with collections
Save and categorize content based on your preferences.
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 |
An error occurred during device creation.
|
static final int |
The device was successfully created.
|
Constants
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.
public static final int Error = 3
An error occurred during device creation.
public static final int Success = 1
The device was successfully created.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-06-24 UTC.
[null,null,["Last updated 2026-06-24 UTC."],[],[]]