Android.Content.Intent.ClipData Property
Return the Android.Content.ClipData associated with this Intent.

Syntax

[get: Android.Runtime.Register("getClipData", "()Landroid/content/ClipData;", "GetGetClipDataHandler")]
[set: Android.Runtime.Register("setClipData", "(Landroid/content/ClipData;)V", "GetSetClipData_Landroid_content_ClipData_Handler")]
public virtual ClipData ClipData { get; set; }

See Also

Intent.ClipData

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Return the Android.Content.ClipData associated with this Intent. If there is none, returns null. See Intent.ClipData for more information.

Set method documentation [Android Documentation]

Set a Android.Content.ClipData associated with this Intent. This replaces any previously set ClipData. The ClipData in an intent is not used for Intent matching or other such operations. Semantically it is like extras, used to transmit additional data with the Intent. The main feature of using this over the extras for data is that Intent.FLAG_GRANT_READ_URI_PERMISSION and Intent.FLAG_GRANT_WRITE_URI_PERMISSION will operate on any URI items included in the clip data. This is useful, in particular, if you want to transmit an Intent containing multiple content: URIs for which the recipient may not have global permission to access the content provider. If the ClipData contains items that are themselves Intents, any grant flags in those Intents will be ignored. Only the top-level flags of the main Intent are respected, and will be applied to all Uri or Intent items in the clip (or sub-items of the clip). The MIME type, label, and icon in the ClipData object are not directly used by Intent. Applications should generally rely on the MIME type of the Intent itself, not what it may find in the ClipData. A common practice is to construct a ClipData for use with an Intent with a MIME type of "*/*".

Requirements

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