Stay organized with collections
Save and categorize content based on your preferences.
NullDevice
public
class
NullDevice
extends StubDevice
A placeholder IDevice
used by DeviceManager
to allocate when
IDeviceSelection.nullDeviceRequested()
is true
Summary
Public methods |
final
boolean
|
isTemporary()
Returns true if the device was created temporarily for the invocation and should be deleted
afterward.
|
Fields
TEMP_NULL_DEVICE_PREFIX
public static final String TEMP_NULL_DEVICE_PREFIX
Naming pattern for auto-created null devices
Public constructors
NullDevice
public NullDevice (String serial)
NullDevice
public NullDevice (String serial,
boolean isTemporary)
Parameters |
serial |
String |
isTemporary |
boolean |
Public methods
isTemporary
public final boolean isTemporary ()
Returns true if the device was created temporarily for the invocation and should be deleted
afterward.
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 2024-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-09 UTC."],[],[]]