Android.Content.Intent.ActionSend Field
Activity Action: Deliver some data to someone else.

Syntax

[Android.Runtime.Register("ACTION_SEND")]
public const string ActionSend

Remarks

Activity Action: Deliver some data to someone else. Who the data is being delivered to is not specified; it is up to the receiver of this action to ask the user where the data should be sent.

When launching a SEND intent, you should usually wrap it in a chooser (through Intent.CreateChooser(Intent, Java.Lang.ICharSequence)), which will give the proper interface for the user to pick how to send your data and allow you to specify a prompt indicating what they are doing.

Input: Intent.Type is the MIME type of the data being sent. get*Extra can have either a Intent.ExtraText or Intent.ExtraStream field, containing the data to be sent. If using EXTRA_TEXT, the MIME type should be "text/plain"; otherwise it should be the MIME type of the data in EXTRA_STREAM. Use */* if the MIME type is unknown (this will only allow senders that can handle generic data streams). If using Intent.ExtraText, you can also optionally supply Intent.ExtraHtmlText for clients to retrieve your text with HTML formatting.

As of NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN, the data being sent can be supplied through Intent.ClipData. This allows you to use Intent.FLAG_GRANT_READ_URI_PERMISSION when sharing content: URIs and other advanced features of Android.Content.ClipData. If using this approach, you still must supply the same data through the Intent.ExtraText or Intent.ExtraStream fields described below for compatibility with old applications. If you don't set a ClipData, it will be copied there for you when calling Context.StartActivity(Intent).

Optional standard extras, which may be interpreted by some recipients as appropriate, are: Intent.ExtraEmail, Intent.ExtraCc, Intent.ExtraBcc, Intent.ExtraSubject.

Output: nothing.

[Android Documentation]

Requirements

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