SelectedDevice

 data 
 class 
 SelectedDevice 
 : 
 AbstractSafeParcelable 
 , 
 ReflectedParcelable 

A data class encapsulating the unique identifier (token) of a device and its related information (such as the device name). It's used in GetDevicesResult , the output from DTDI's device picker activity, to represent the device associated with a specific telecom call ID.

Summary

Public constructors

<init> ( token : IBinder , displayName : String , remoteAppScope : RemoteAppScope ? =  null)

A data class encapsulating the unique identifier (token) of a device and its related information (such as the device name).

Public methods

Properties

The user-facing name associated with this device.

When nonnull, represents the remote app on the other side of the cross app channel.

The token used to identify this device.

Companion properties

Public constructors

<init>

 SelectedDevice 
 ( 

token : IBinder ,
displayName : String ,
remoteAppScope : RemoteAppScope ? =  null )

A data class encapsulating the unique identifier (token) of a device and its related information (such as the device name). It's used in GetDevicesResult , the output from DTDI's device picker activity, to represent the device associated with a specific telecom call ID.

Public methods

writeToParcel

 fun 
 writeToParcel 
 ( 

dest : Parcel ,
flags : Int
) : Unit

Properties

displayName

 val 
 displayName 
 : 
  String 
 

The user-facing name associated with this device.

remoteAppScope

 val 
 remoteAppScope 
 : 
  RemoteAppScope 
 
 ? 

When nonnull, represents the remote app on the other side of the cross app channel. On the originating device, this is the alternate package that is allowed and launched. On the receiving device, this is the origin package.

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 
 
 > 
Create a Mobile Website
View Site in Mobile | Classic
Share by: