public static final class ModConnection.State extends Enum
Modifier and Type | Field and Description |
---|---|
static ModConnection.State |
DESTROYING |
static ModConnection.State |
DISABLED |
static ModConnection.State |
ENABLED |
static ModConnection.State |
ERROR |
static ModConnection.State |
INVALID |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ModConnection.State |
valueOf(String name) |
static ModConnection.State[] |
values() |
public static final ModConnection.State INVALIDThe greybus connection state corresponding to this protocol is invalid. This is default value for a new connection instance.
public static final ModConnection.State DISABLEDThe greybus connection corresponding to this protocol has been disabled.
public static final ModConnection.State ENABLEDThe greybus connection state corresponding to this protocol is enabled and functioning.
public static final ModConnection.State ERRORThe greybus connection state corresponding to this protocol is in a ERROR state.
public static final ModConnection.State DESTROYINGThe greybus connection state corresponding to this protocol is being destroyed.
public static ModConnection.State[] values()
public static ModConnection.State valueOf(String name)
public int getValue()
(c) 2016 Motorola Mobility LLC. All Rights Reserved
MOTOROLA and the Stylized M Logo are registered trademarks of Motorola Trademark Holdings, LLC
Android, Google, Google Play, Nexus and other marks are trademarks of Google Inc.