public final class SessionData


A class containing values that will be constant for the lifetime of a SandboxedUiAdapter.Session.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final InputTransferToken

The input transfer token of the window hosting this session.

final IBinder

The input token of the window hosting this session.

int
@NonNull String

Public constructors

SessionData

Added in 1.0.0-alpha15
public SessionData()

Public methods

equals

public boolean equals(Object other)

getInputTransferToken

Added in 1.0.0-alpha15
public final InputTransferToken getInputTransferToken()

The input transfer token of the window hosting this session.

This will be non-null when Build.VERSION.SDK_INT is greater than Build.VERSION_CODES.UPSIDE_DOWN_CAKE.

getWindowInputToken

Added in 1.0.0-alpha15
public final IBinder getWindowInputToken()

The input token of the window hosting this session.

This value will be used when Build.VERSION.SDK_INT is equal to Build.VERSION_CODES.UPSIDE_DOWN_CAKE.

hashCode

public int hashCode()

toString

public @NonNull String toString()