Sdílet prostřednictvím


Intent.ExtraText Field

Definition

A constant CharSequence that is associated with the Intent, used with #ACTION_SEND to supply the literal data to be sent.

[Android.Runtime.Register("EXTRA_TEXT")]
public const string ExtraText;
[<Android.Runtime.Register("EXTRA_TEXT")>]
val mutable ExtraText : string

Field Value

Implements

Attributes

Remarks

A constant CharSequence that is associated with the Intent, used with #ACTION_SEND to supply the literal data to be sent. Note that this may be a styled CharSequence, so you must use Bundle#getCharSequence(String) Bundle.getCharSequence() to retrieve it.

Java documentation for android.content.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.

Applies to