public class DeviceInfo extends Object
The device information includes the device ID, name, and type.
SystemCapability.Data#DATA_DISTRIBUTEDDATAMGR| 构造器 | 说明 |
|---|---|
DeviceInfo(String id,
String name,
String type) |
A constructor used to create a
DeviceInfo instance with a specified device ID, name, and type. |
public String getId()
public String getName()
public String getType()