From 7e4669c5a6de347fe85b976475e7e749512114fa Mon Sep 17 00:00:00 2001
From: Vladislav Kaznacheev ClippedData is a complex type containing one or Item instances,
+ * ClipData is a complex type containing one or more Item instances,
* each of which can hold one or more representations of an item of data.
- * For display to the user, it also has a label and iconic representation.
A ClipData contains a {@link ClipDescription}, which describes * important meta-data about the clip. In particular, its @@ -71,7 +71,7 @@ import java.util.List; * *
To implement a paste or drop of a ClippedData object into an application, + *
To implement a paste or drop of a ClipData object into an application, * the application must correctly interpret the data for its use. If the {@link Item} * it contains is simple text or an Intent, there is little to be done: text * can only be interpreted as text, and an Intent will typically be used for @@ -85,7 +85,7 @@ import java.util.List; * since any clip item can always be converted to a string. * *
More complicated exchanges will be done through URIs, in particular - * "content:" URIs. A content URI allows the recipient of a ClippedData item + * "content:" URIs. A content URI allows the recipient of a ClipData item * to interact closely with the ContentProvider holding the data in order to * negotiate the transfer of that data. The clip must also be filled in with * the available MIME types; {@link #newUri(ContentResolver, CharSequence, Uri)} @@ -116,7 +116,7 @@ import java.util.List; * *
To be the source of a clip, the application must construct a ClippedData + *
To be the source of a clip, the application must construct a ClipData
* object that any recipient can interpret best for their context. If the clip
* is to contain a simple text, Intent, or URI, this is easy: an {@link Item}
* containing the appropriate data type can be constructed and used.
@@ -163,13 +163,13 @@ public class ClipData implements Parcelable {
ClipDescription.MIMETYPE_TEXT_INTENT };
final ClipDescription mClipDescription;
-
+
final Bitmap mIcon;
final ArrayList The types than an individual item can currently contain are: