Example usage for Java android.content ClipData fields, constructors, methods, implement or subclass
The text is from its open source code.
ClipData(CharSequence label, String[] mimeTypes, Item item) Create a new clip. | |
ClipData(ClipDescription description, Item item) Create a new clip. | |
ClipData(ClipDescription description, ArrayList Create a new clip. |
void | addItem(Item item) Add a new Item to the overall ClipData container. |
ClipDescription | getDescription() Return the ClipDescription associated with this data, describing what it contains. |
Item | getItemAt(int index) Return a single item inside of the clip data. |
int | getItemCount() Return the number of items in the clip data. |
ClipData | newHtmlText(CharSequence label, CharSequence text, String htmlText) Create a new ClipData holding data of the type ClipDescription#MIMETYPE_TEXT_HTML . |
ClipData | newIntent(CharSequence label, Intent intent) Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_INTENT . |
ClipData | newPlainText(CharSequence label, CharSequence text) Create a new ClipData holding data of the type ClipDescription#MIMETYPE_TEXT_PLAIN . |
ClipData | newRawUri(CharSequence label, Uri uri) Create a new ClipData holding an URI with MIME type ClipDescription#MIMETYPE_TEXT_URILIST . |
ClipData | newUri(ContentResolver resolver, CharSequence label, Uri uri) Create a new ClipData holding a URI. |