InputContentInfoCompat

Helper for accessing features in InputContentInfo introduced after API level 13 in a backwards compatible fashion.

Constructors

Link copied to clipboard
constructor(@NonNull contentUri: Uri, @NonNull description: ClipDescription, @Nullable linkUri: Uri)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLinkUri(): Uri
Link copied to clipboard
Releases a temporary read-only access permission for content URI associated with this object.
Link copied to clipboard
Requests a temporary read-only access permission for content URI associated with this object.
Link copied to clipboard
open fun unwrap(): Any
Gets the underlying framework android.view.inputmethod.InputContentInfo object.
Link copied to clipboard
open fun wrap(@Nullable inputContentInfo: Any): InputContentInfoCompat
Creates an instance from a framework android.view.inputmethod.InputContentInfo object.