Stay organized with collections Save and categorize content based on your preferences.

com.google.ambient.crossdevice.sessions

Interfaces

ApplicationSessionTagMatcher

Defines how two ApplicationSessionTag should be matched.

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.

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.

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.

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.

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.

TransferrableSession

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

Classes

ApplicationSessionTag

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

ExactSessionTagMatcher

An ApplicationSessionTagMatcher that matches ApplicationSessionTag objects when their ApplicationSessionTag.sessionTag strings are the same.

SessionId

An identifier that uniquely describes an individual Session.

Exceptions

SessionException

Exception for session requests.

Annotations