TrustedWebActivityImageRef
An image reference used for designating the background image of a TrustedWebActivity.
Types
Functions
Link copied to clipboard
Link copied to clipboard
open fun <T> fold( @NonNull onDrawableId: TrustedWebActivityImageRef.DrawableIdCallback<T>, @NonNull onFilepath: TrustedWebActivityImageRef.FilepathCallback<T>, @NonNull onEmpty: TrustedWebActivityImageRef.EmptyCallback<T>): T
Content copied to clipboard
Link copied to clipboard
open fun forDrawableId(@DrawableRes drawableId: Int): TrustedWebActivityImageRef
Content copied to clipboard
Link copied to clipboard
open fun forFilepath(@NonNull filepath: String): TrustedWebActivityImageRef
Content copied to clipboard
Link copied to clipboard
Returns TrustedWebActivityImageRef pointing to the default splash screen image of TrustedWebActivity.
Link copied to clipboard
Returns TrustedWebActivityImageRef that effectively disables the splash screen for TrustedWebActivity.
Link copied to clipboard