public static enum DeviceOwnerEvent.Type extends Enum<DeviceOwnerEvent.Type>
Enum Constant and Description |
---|
OWNERSHIP_ACQUIRED
Issued when this controller has acquired ownership of the
datapath (and device).
|
OWNERSHIP_LOST
Issued when this controller has lost ownership of the
datapath (and device).
|
Modifier and Type | Method and Description |
---|---|
static DeviceOwnerEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceOwnerEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceOwnerEvent.Type OWNERSHIP_ACQUIRED
public static final DeviceOwnerEvent.Type OWNERSHIP_LOST
public static DeviceOwnerEvent.Type[] values()
for (DeviceOwnerEvent.Type c : DeviceOwnerEvent.Type.values()) System.out.println(c);
public static DeviceOwnerEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All Rights Reserved.