Stay organized with collections
Save and categorize content based on your preferences.
RemoteDevice
class
RemoteDevice
:
AbstractSafeParcelable
Represents a device scan result.
Summary
Represents a device scan result.
The address information for this device.
The capabilities of this device.
The deduplication id for this device.
The human-readable name of this device.
The id token uniquely identifying this device.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`RemoteDevice` represents a device scan result and stores device information like name, address, and capabilities."],["It includes a unique token for identification and an optional deduplication ID."],["`RemoteDevice` is parcelable, allowing it to be passed between Android components."],["Developers can access device properties like `address`, `capabilities`, `deduplicationId`, `deviceName`, and `token`."]]],[]]