-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum CommunicationEnumDevice communication methods.
-
-
Field Summary
Fields Modifier and Type Field Description private inttype
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUD_MODECommunication via Thing's shared sub devicewhich parent is not in your device listCLOUD_MODE
YU_MQTTTHING_MATTEROTHERTHING_BEACONCommunication via Thing's Beacon.
Use Thing private Beacon protocol.
THING_MESHCommunication via Bluetooth Mesh (THING).
Use Thing private bluetooth mesh protocol.
SIGMESHCommunication via Bluetooth Mesh (SIG).
Use SIG bluetooth mesh protocol.
BLECommunication via Bluetooth Low Energy
HTTPCommunication via HTTP
MQTTCommunication via mqtt protocol
LANCommunication via local area network
-
Method Summary
Modifier and Type Method Description static CommunicationEnumgetEnum(int type)Convert type to Enum. static Array<CommunicationEnum>values()static CommunicationEnumvalueOf(String name)intgetType()-
-
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()
-
-
-
-