RemoteDevice

public final class RemoteDevice implements Parcelable


Represents a device scan result.

Summary

Public fields

static final @NonNull Parcelable.Creator<@NonNull RemoteDevice>

Public constructors

RemoteDevice(
    @NonNull IBinder token,
    @NonNull String deviceName,
    String salt,
    String deduplicationId,
    @NonNull List<@NonNull Integer> capabilities
)

Public methods

final @NonNull List<@NonNull Integer>

The capabilities of this device.

final String

The deduplication id for this device.

final @NonNull String

The human-readable name of this device.

final String

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

final @NonNull IBinder

The ephemeral token uniquely identifying this device.

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull RemoteDevice> CREATOR

Public constructors

RemoteDevice

public RemoteDevice(
    @NonNull IBinder token,
    @NonNull String deviceName,
    String salt,
    String deduplicationId,
    @NonNull List<@NonNull Integer> capabilities
)

Public methods

getCapabilities

public final @NonNull List<@NonNull Integer> getCapabilities()

The capabilities of this device.

getDeduplicationId

public final String getDeduplicationId()

The deduplication id for this device.

getDeviceName

public final @NonNull String getDeviceName()

The human-readable name of this device.

getSalt

public final String getSalt()

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

getToken

public final @NonNull IBinder getToken()

The ephemeral token uniquely identifying this device.

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)