/**@class android.content.ClipDescription implements android.os.Parcelable @extends java.lang.Object Meta-data describing the contents of a {@link android.content.ClipData}. Provides enough information to know if you can handle the ClipData, but not the data itself. <div class="special reference"> <h3>Developer Guides</h3> <p>For more information about using the clipboard framework, read the <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a> developer guide.</p> </div> */ var ClipDescription = { /** The MIME type for a clip holding plain text. */ MIMETYPE_TEXT_PLAIN : "text/plain", /** The MIME type for a clip holding HTML text. */ MIMETYPE_TEXT_HTML : "text/html", /** The MIME type for a clip holding one or more URIs. This should be used for URIs that are meaningful to a user (such as an http: URI). It should <em>not</em> be used for a content: URI that references some other piece of data; in that case the MIME type should be the type of the referenced data. */ MIMETYPE_TEXT_URILIST : "text/uri-list", /** The MIME type for a clip holding an Intent. */ MIMETYPE_TEXT_INTENT : "text/vnd.android.intent", /***/ CREATOR : "null", /**Helper to compare two MIME types, where one may be a pattern. @param {String} concreteType A fully-specified MIME type. @param {String} desiredType A desired MIME type that may be a pattern such as */*. @return {Boolean} Returns true if the two MIME types match. */ compareMimeTypes : function( ) {}, /**Return the label for this clip. */ getLabel : function( ) {}, /**Check whether the clip description contains the given MIME type. @param {String} mimeType The desired MIME type. May be a pattern. @return {Boolean} Returns true if one of the MIME types in the clip description matches the desired MIME type, else false. */ hasMimeType : function( ) {}, /**Filter the clip description MIME types by the given MIME type. Returns all MIME types in the clip that match the given MIME type. @param {String} mimeType The desired MIME type. May be a pattern. @return {String} Returns an array of all matching MIME types. If there are no matching MIME types, null is returned. */ filterMimeTypes : function( ) {}, /**Return the number of MIME types the clip is available in. */ getMimeTypeCount : function( ) {}, /**Return one of the possible clip MIME types. */ getMimeType : function( ) {}, /** @hide */ validate : function( ) {}, /** */ toString : function( ) {}, /** @hide */ toShortString : function( ) {}, /** */ describeContents : function( ) {}, /** */ writeToParcel : function( ) {}, };