SelectedDevice
dataclassSelectedDevice:AbstractSafeParcelable,ReflectedParcelable
com.google.android.gms.dtdi.core.SelectedDevice |
A component ofGetDevicesResult(the output from DTDI's device picker activity) encapsulating the token and associated data (such as the device name).
Summary
Public constructors |
|
---|---|
A component ofGetDevicesResult(the output from DTDI's device picker activity) encapsulating the token and associated data (such as the device name). |
Public methods |
|
---|---|
Unit |
writeToParcel(dest:Parcel,flags:Int) |
Properties |
|
---|---|
String |
The user-facing name associated with this device. |
IBinder |
The token used to identify this device. |
Companion properties |
|
---|---|
Creator<SelectedDevice> |
Public constructors
<init>
SelectedDevice(
token:IBinder,
displayName:String)
A component ofGetDevicesResult(the output from DTDI's device picker activity) encapsulating the token and associated data (such as the device name).
Public methods
Properties
token
valtoken:IBinder
The token used to identify this device. Some APIs inDtdiClientlikesendPayloadandregisterPayloadReceiver requires this token to be passed back identify the target device.
Companion properties
CREATOR
valCREATOR:Creator<SelectedDevice>