InputContentInfoCompat

public final class InputContentInfoCompat
extends Object

java.lang.Object
   ↳ androidx.core.view.inputmethod.InputContentInfoCompat


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

Summary

Public constructors

InputContentInfoCompat(Uri contentUri, ClipDescription description, Uri linkUri)

Constructs InputContentInfoCompat.

Public methods

Uri getContentUri()
ClipDescription getDescription()
Uri getLinkUri()
void releasePermission()

Releases a temporary read-only access permission for content URI associated with this object.

void requestPermission()

Requests a temporary read-only access permission for content URI associated with this object.

Object unwrap()

Gets the underlying framework android.view.inputmethod.InputContentInfo object.

static InputContentInfoCompat wrap(Object inputContentInfo)

Creates an instance from a framework android.view.inputmethod.InputContentInfo object.

Inherited methods