TrustedWebActivityImageRef

class TrustedWebActivityImageRef : Parcelable

An image reference used for designating the background image of a TrustedWebActivity.

Types

Link copied to clipboard
interface DrawableIdCallback<T>
Link copied to clipboard
interface EmptyCallback<T>
Link copied to clipboard
interface FilepathCallback<T>

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun <T> fold(    @NonNull onDrawableId: TrustedWebActivityImageRef.DrawableIdCallback<T>,     @NonNull onFilepath: TrustedWebActivityImageRef.FilepathCallback<T>,     @NonNull onEmpty: TrustedWebActivityImageRef.EmptyCallback<T>): T
Link copied to clipboard
open fun forDrawableId(@DrawableRes drawableId: Int): TrustedWebActivityImageRef
Link copied to clipboard
open fun forFilepath(@NonNull filepath: String): TrustedWebActivityImageRef
Link copied to clipboard
open fun getDefault(): TrustedWebActivityImageRef
Returns TrustedWebActivityImageRef pointing to the default splash screen image of TrustedWebActivity.
Link copied to clipboard
open fun getEmpty(): TrustedWebActivityImageRef
Returns TrustedWebActivityImageRef that effectively disables the splash screen for TrustedWebActivity.
Link copied to clipboard
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)

Properties

Link copied to clipboard
val CONTENTS_FILE_DESCRIPTOR: Int
Link copied to clipboard
val CREATOR: Parcelable.Creator<TrustedWebActivityImageRef>
Link copied to clipboard
val PARCELABLE_WRITE_RETURN_VALUE: Int

Sources

Link copied to clipboard