TrustedWebActivity
A trusted web activity.
Based on https://developer.chrome.com/docs/android/trusted-web-activity.
Types
Link copied to clipboard
data class SplashScreen( val imageRef: TrustedWebActivityImageRef?, val imageScaleType: ImageView.ScaleType = ImageView.ScaleType.FIT_CENTER, @ColorInt val backgroundColor: Int? = null, val fadeOutTimeInMillis: Int = 300)
Content copied to clipboard
Holds information about the splash screen for a trusted web activity.
Functions
Link copied to clipboard
Starts up a trusted web activity launch flow.
Link copied to clipboard
fun notifyOnCustomTabsSessionCreated(customTabsSession: CustomTabsSession)
Content copied to clipboard
Must be invoked each time a new custom tabs session is created.
Link copied to clipboard
Must be invoked each time all of the trusted web activities need to be destroyed (e.g. parent activity gets destroyed).
Link copied to clipboard
Must be invoked when the parent activity finishes its "appear" animation.