TrustedWebActivityIntent

public final class TrustedWebActivityIntent
extends Object

java.lang.Object
   ↳ androidx.browser.trusted.TrustedWebActivityIntent


Holds an Intent and other data necessary to start a Trusted Web Activity.

Summary

Public methods

Intent getIntent()

Returns the held Intent.

void launchTrustedWebActivity(Context context)

Launches a Trusted Web Activity.

Inherited methods

Public methods

getIntent

public Intent getIntent ()

Returns the held Intent. For launching a Trusted Web Activity prefer using launchTrustedWebActivity(Context).

Returns
Intent

launchTrustedWebActivity

public void launchTrustedWebActivity (Context context)

Launches a Trusted Web Activity.

Parameters
context Context