Synopsis
RemoteDeviceInfo getInstance(String instanceId)
Parameters
The pararmeter instanceId is the String identifying the remote device whose metadata is sought.
Returns
Returns the RemoteDeviceInfo metadata of the remote device containing the properties name and instanceId.
Returns null if the device is currently in an disconnected state or not subscribed.
Description
Get metadata about a particular remote device. Get information about a connected device that is subscribed with the given
instanceId.
Returns an object of the form { name: , instanceId: } where name is the human-readable name of the device, and instanceId is the given instance ID.
Example