Class Index

These are all the API classes. See all API packages.

A  C  D  E  M  O  P  R  S  T  

A

ApplicationSessionTag

An identifier that allows apps to differentiate between multiple types of sessions.

ApplicationSessionTagMatcher

Defines how two ApplicationSessionTag should be matched.

C

ConnectionReceiver

Receiver callback for a RemoteConnection.

ConnectionType

The type of the connection.

ConnectionsException

Exception for connections requests.

ConnectionsException.Companion
ConnectionsException.ConnectionsErrorCode
CrossDeviceException

Base exception type for Cross device APIs.

D

DeviceFilter

A DeviceFilter is a restriction on which devices should be shown in a call to Discovery.registerForResult.

DeviceFilter.Companion
DevicePickerLauncher

A launcher to start a device discovery and show a dialog chooser to display available devices.

Discovery

Entry point for discovering devices.

Discovery.Companion
Discovery.OnDevicePickerResultListener

Interface to receive the result from the device picker, for use with registerForResult.

E

M

O

OriginatingSession

Describes a Session that is in the process of being transferred to another device.

OriginatingSessionStateCallback

Clients of Sessions should implement OriginatingSessionStateCallback to receive notifications of Session state changes when transferring a Session.

P

Participant

An opaque handle that represents a participant in a cross device experience.

PrimarySession

When a Session becomes shared with one or more devices, this interface represents the Primary device (the Session owner).

PrimarySessionStateCallback

Clients of Sessions should implement PrimarySessionStateCallback to receive notifications of Session state changes when acting as the Primary for a Shared Session.

R

ReceivingSession

Describes a Session that is in the process of being transferred to another device.

ReceivingSessionStateCallback

Clients of Sessions should implement ReceivingSessionStateCallback to receive notifications of Session state changes when transferring a Session.

RemoteConnection

A connection to a remote device, used for sending and receiving payloads.

S

SecondarySession

When a Session becomes shared with one or more devices, this interface represents a secondary device (a device that has joined an existing Session).

SecondarySessionStateCallback

Clients of Sessions should implement SecondarySessionStateCallback to receive notifications of Session state changes when acting as the Secondary for a shared Session.

SessionConnectionReceiver

Receiver callback for a SessionRemoteConnection.

SessionException

Exception for session requests.

SessionException.Companion
SessionException.SessionErrorCode
SessionId

An identifier that uniquely describes an individual Session.

SessionId.Companion
SessionParticipant

Represents an individual device that is participating in a Session.

SessionRemoteConnection

A connection to a remote device that is participating in a Session.

SessionStateCallback

Grants access to client-provided callbacks OriginatingSessionStateCallback, ReceivingSessionStateCallback, PrimarySessionStateCallback and SecondarySessionStateCallback.

Sessions

Entry-point for creating and interacting with Sessions.

Sessions.Companion
StartComponentRequest

A request to wake up a specified component on another device, and optionally deliver additional information to it.

StartComponentRequest.Builder

T

TransferrableSession

Describes methods that are common to both originating and receiving sides of a Session transfer.