public class CustomTabsSessionToken
extends Object

   ↳ androidx.browser.customtabs.CustomTabsSessionToken

Wrapper class that can be used as a unique identifier for a session. Also contains an accessor for the CustomTabsCallback for the session if there was any.


Public methods

static CustomTabsSessionToken createMockSessionTokenForTesting()

Provides browsers a way to generate a mock CustomTabsSessionToken for testing purposes.

boolean equals(Object o)
CustomTabsCallback getCallback()
static CustomTabsSessionToken getSessionTokenFromIntent(Intent intent)

Obtain a CustomTabsSessionToken from an intent.

int hashCode()
boolean isAssociatedWith(CustomTabsSession session)

Inherited methods

Public methods


public static