ClipboardManager.TextFormatted Property

Definition

Caution

deprecated

This member is deprecated. -or- This member is deprecated.

[System.Obsolete("deprecated")]
public override Java.Lang.ICharSequence? TextFormatted { [Android.Runtime.Register("getText", "()Ljava/lang/CharSequence;", "GetGetTextHandler")] get; [Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)V", "GetSetText_Ljava_lang_CharSequence_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getText", "()Ljava/lang/CharSequence;", "GetGetTextHandler")>]
[<set: Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)V", "GetSetText_Ljava_lang_CharSequence_Handler")>]
member this.TextFormatted : Java.Lang.ICharSequence with get, set

Property Value

Attributes

Remarks

Property getter documentation:

This member is deprecated. Use #getPrimaryClip() instead. This retrieves the primary clip and tries to coerce it to a string.

Java documentation for android.content.ClipboardManager.getText().

Property setter documentation:

This member is deprecated. Use #setPrimaryClip(ClipData) instead. This creates a ClippedItem holding the given text and sets it as the primary clip. It has no label or icon.

Java documentation for android.content.ClipboardManager.setText(java.lang.CharSequence).

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