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.