-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum CommunicationEnum
Device communication methods.
-
-
Field Summary
Fields Modifier and Type Field Description private int
type
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUD_MODE
Communication via Thing's shared sub devicewhich parent is not in your device listCLOUD_MODE
YU_MQTT
THING_MATTER
OTHER
THING_BEACON
Communication via Thing's Beacon.
Use Thing private Beacon protocol.
THING_MESH
Communication via Bluetooth Mesh (THING).
Use Thing private bluetooth mesh protocol.
SIGMESH
Communication via Bluetooth Mesh (SIG).
Use SIG bluetooth mesh protocol.
BLE
Communication via Bluetooth Low Energy
HTTP
Communication via HTTP
MQTT
Communication via mqtt protocol
LAN
Communication via local area network
-
Method Summary
Modifier and Type Method Description static CommunicationEnum
getEnum(int type)
Convert type to Enum. static Array<CommunicationEnum>
values()
static CommunicationEnum
valueOf(String name)
int
getType()
-
-
Method Detail
-
getEnum
static CommunicationEnum getEnum(int type)
Convert type to Enum.
- Parameters:
type
- The index of CommunicationEnum
-
values
static Array<CommunicationEnum> values()
-
valueOf
static CommunicationEnum valueOf(String name)
-
getType
int getType()
-
-
-
-