# RemoteDevice


```
class RemoteDevice : Parcelable
```

<br />

*** ** * ** ***

> [!WARNING]
> Direct use of the Google Play Services DTDI SDK is not supported. You should use the [Cross
> Device SDK](https://developer.android.com/guide/topics/connectivity/cross-device-sdk/overview) for creating cross device experiences.

Represents a device scan result.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/android/os/Parcelable.Creator.html<https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice>` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#CREATOR()` |

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#RemoteDevice(android.os.IBinder,kotlin.String,kotlin.String,kotlin.String,kotlin.collections.List)( token: https://developer.android.com/reference/android/os/IBinder.html, deviceName: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, salt: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?, deduplicationId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?, capabilities: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html> )` |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#writeToParcel(android.os.Parcel,kotlin.Int)(dest: https://developer.android.com/reference/android/os/Parcel.html, flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html>` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#capabilities()` The capabilities of this device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#deduplicationId()` The deduplication id for this device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#deviceName()` The human-readable name of this device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#salt()` The salt (if any) corresponding to the deduplication id for this device. |
| `https://developer.android.com/reference/android/os/IBinder.html` | `https://developers.google.com/android/reference/kotlin/com/google/android/gms/dtdi/core/RemoteDevice#token()` The ephemeral token uniquely identifying this device. |

## Public companion properties

### CREATOR

```
val CREATOR: Parcelable.Creator<RemoteDevice>
```

## 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.