Browser.SendString(Context, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends the given string using an Intent with Intent#ACTION_SEND
and a mime type
of text/plain.
[Android.Runtime.Register("sendString", "(Landroid/content/Context;Ljava/lang/String;)V", "")]
public static void SendString (Android.Content.Context? context, string? string);
[<Android.Runtime.Register("sendString", "(Landroid/content/Context;Ljava/lang/String;)V", "")>]
static member SendString : Android.Content.Context * string -> unit
Parameters
- context
- Context
the context used to start the activity
- string
- String
the string to send
- Attributes
Remarks
Sends the given string using an Intent with Intent#ACTION_SEND
and a mime type of text/plain. The string is put into Intent#EXTRA_TEXT
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.