RemoteDevice

class RemoteDevice : AbstractSafeParcelable
com.google.android.gms.dtdi.core.RemoteDevice

Represents a device scan result.

Summary

Public constructors

<init>(token: IBinder, deviceName: String, address: String? = null, deduplicationId: String? = null, capabilities: List<Int> = listOf())

Represents a device scan result.

Public methods

Unit
writeToParcel(dest: Parcel, flags: Int)

Properties

String?

The address information for this device.

List<Int>

The capabilities of this device.

String?

The deduplication id for this device.

String

The human-readable name of this device.

IBinder

The id token uniquely identifying this device.

Companion properties

Creator<RemoteDevice>

Public constructors

<init>

RemoteDevice(
    token: IBinder,
    deviceName: String,
    address: String? = null,
    deduplicationId: String? = null,
    capabilities: List<Int> = listOf())

Represents a device scan result.

Public methods

writeToParcel

fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Properties

address

val address: String?

The address information for this device.

capabilities

val capabilities: List<Int>

The capabilities of this device.

deduplicationId

val deduplicationId: String?

The deduplication id for this device.

deviceName

val deviceName: String

The human-readable name of this device.

token

val token: IBinder

The id token uniquely identifying this device.

Companion properties

CREATOR

val CREATOR: Creator<RemoteDevice>