InputContentInfoCompat

constructor(@NonNull contentUri: Uri, @NonNull description: ClipDescription, @Nullable linkUri: Uri)(source)

Constructs InputContentInfoCompat.

Parameters

contentUri

content URI to be exported from the input method. This cannot be null.

description

a ClipDescription object that contains the metadata of contentUri such as MIME type(s). This object cannot be null. Also getLabel should be describing the content specified by contentUri for accessibility reasons.

linkUri

an optional http or https URI. The editor author may provide a way to navigate the user to the specified web page if this is not null.