RemoteDevice

class RemoteDevice : Parcelable


Represents a device scan result.

Summary

Public companion properties

Parcelable.Creator<RemoteDevice>

Public constructors

RemoteDevice(
    token: IBinder,
    deviceName: String,
    salt: String?,
    deduplicationId: String?,
    capabilities: List<Int>
)

Public functions

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

Public properties

List<Int>

The capabilities of this device.

String?

The deduplication id for this device.

String

The human-readable name of this device.

String?

The salt (if any) corresponding to the deduplication id for this device.

IBinder

The ephemeral token uniquely identifying this device.

Public companion properties

Public constructors

RemoteDevice

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

Public functions

writeToParcel

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

Public properties

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.

salt

val salt: String?

The salt (if any) corresponding to the deduplication id for this device.

token

val token: IBinder

The ephemeral token uniquely identifying this device.