public enum DeviceLinkType extends Enum<DeviceLinkType>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasTransferType(TransferType transferType) |
static DeviceLinkType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DeviceLinkType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DeviceLinkType WIFI
public static final DeviceLinkType CELLUAR
public static final DeviceLinkType NBIOT
public static final DeviceLinkType ETH
public static final DeviceLinkType OTHER
public static final DeviceLinkType LORA
public static DeviceLinkType[] values()
for (DeviceLinkType c : DeviceLinkType.values()) System.out.println(c);
public static DeviceLinkType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public boolean hasTransferType(TransferType transferType)
Copyright © 2021. All rights reserved.