SelectedDevice
data class SelectedDevice : AbstractSafeParcelable, ReflectedParcelable
com.google.android.gms.dtdi.core.SelectedDevice |
A component of GetDevicesResult (the output from DTDI's device picker activity) encapsulating the token and associated data (such as the device name).
Summary
Public constructors |
|
---|---|
A component of GetDevicesResult (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 of GetDevicesResult (the output from DTDI's device picker activity) encapsulating the token and associated data (such as the device name).
Public methods
Properties
token
val token: IBinder
The token used to identify this device. Some APIs in DtdiClient like sendPayload and registerPayloadReceiver requires this token to be passed back identify the target device.
Companion properties
CREATOR
val CREATOR: Creator<SelectedDevice>