java.lang.Object |---com.huawei.wearengine.p2p.Peer public class Peer extends java.lang.Object |
Message object of the device that needs to be communicated with.
Message objects of the device include the device object, fingerprint information, and package name.
Modifier and Type | Class and Description |
|---|---|
static class | Peer.Builder Building class in Peer. |
Modifier and Type | Method and Description |
|---|---|
getDevice() Obtains the Peer device object. | |
java.lang.String | getFingerPrint() Obtains the Peer fingerprint information. |
java.lang.String | getPkgName() Obtains the Peer package name. |
public Device getDevice()
It is used to obtain the Peer device object.
Returns:
Peer device object.
Since:
API level 0 (SDK 5.0.0.301)