Java android.content ClipDescription fields, constructors, methods, implement or subclass

Example usage for Java android.content ClipDescription fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content ClipDescription.

The text is from its open source code.

Field

StringMIMETYPE_TEXT_PLAIN
The MIME type for a clip holding plain text.
StringMIMETYPE_TEXT_HTML
The MIME type for a clip holding HTML text.
StringMIMETYPE_TEXT_URILIST
The MIME type for a clip holding one or more URIs.
StringMIMETYPE_TEXT_INTENT
The MIME type for a clip holding an Intent.

Constructor

Method

booleancompareMimeTypes(String concreteType, String desiredType)
Helper to compare two MIME types, where one may be a pattern.
PersistableBundlegetExtras()
Retrieve extended data from the clip description.
CharSequencegetLabel()
Return the label for this clip.
StringgetMimeType(int index)
Return one of the possible clip MIME types.
intgetMimeTypeCount()
Return the number of MIME types the clip is available in.
booleanhasMimeType(String mimeType)
Check whether the clip description contains the given MIME type.
voidsetExtras(PersistableBundle extras)
Add extended data to the clip description.