Android Guides | Samples

Android.Content.ClipDescription Class

Meta-data describing the contents of a ClipData.

See Also: ClipDescription

Syntax

[Android.Runtime.Register("android/content/ClipDescription", DoNotGenerateAcw=true)]
public class ClipDescription : Object, IParcelable, IDisposable

Remarks

Meta-data describing the contents of a ClipData. Provides enough information to know if you can handle the ClipData, but not the data itself.

Developer Guides

For more information about using the clipboard framework, read the Copy and Paste developer guide.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11

The members of Android.Content.ClipDescription are listed below.

See Also: Object

Public Constructors

Create a copy of a ClipDescription.
Create a new clip.
Create a new clip.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
MimetypeTextHtmlString. The MIME type for a clip holding HTML text.
const
MimetypeTextIntentString. The MIME type for a clip holding an Intent.
const
MimetypeTextPlainString. The MIME type for a clip holding plain text.
const
MimetypeTextUrilistString. The MIME type for a clip holding one or more URIs.

Public Properties

[read-only]
static
CreatorIParcelableCreator.
[read-only]
LabelString.
[read-only]
LabelFormattedICharSequence. Return the label for this clip.
[read-only]
MimeTypeCountInt32. Return the number of MIME types the clip is available in.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
CompareMimeTypes(String, String) : Boolean
Helper to compare two MIME types, where one may be a pattern.
DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
FilterMimeTypes(String) : String[]
Filter the clip description MIME types by the given MIME type.
GetMimeType(Int32) : String
Return one of the possible clip MIME types.
HasMimeType(String) : Boolean
Check whether the clip description contains the given MIME type.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.