Example usage for Java android.content ClipDescription fields, constructors, methods, implement or subclass
The text is from its open source code.
String | MIMETYPE_TEXT_PLAIN The MIME type for a clip holding plain text. |
String | MIMETYPE_TEXT_HTML The MIME type for a clip holding HTML text. |
String | MIMETYPE_TEXT_URILIST The MIME type for a clip holding one or more URIs. |
String | MIMETYPE_TEXT_INTENT The MIME type for a clip holding an Intent. |
ClipDescription(CharSequence label, String[] mimeTypes) Create a new clip. |
boolean | compareMimeTypes(String concreteType, String desiredType) Helper to compare two MIME types, where one may be a pattern. |
PersistableBundle | getExtras() Retrieve extended data from the clip description. |
CharSequence | getLabel() Return the label for this clip. |
String | getMimeType(int index) Return one of the possible clip MIME types. |
int | getMimeTypeCount() Return the number of MIME types the clip is available in. |
boolean | hasMimeType(String mimeType) Check whether the clip description contains the given MIME type. |
void | setExtras(PersistableBundle extras) Add extended data to the clip description. |