SessionConstants


public final class SessionConstants


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

Summary

Public methods

boolean
equals(Object other)
final <Error class: unknown class>

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 methods

equals

public boolean equals(Object other)

getInputTransferToken

Added in 1.0.0-alpha13
public final <Error class: unknown class> 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-alpha13
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()