ClipData.Item.CoerceToTextFormatted(Context) Method

Definition

Turn this item into text, regardless of the type of data it actually contains.

[Android.Runtime.Register("coerceToText", "(Landroid/content/Context;)Ljava/lang/CharSequence;", "GetCoerceToText_Landroid_content_Context_Handler")]
public virtual Java.Lang.ICharSequence CoerceToTextFormatted (Android.Content.Context context);
[<Android.Runtime.Register("coerceToText", "(Landroid/content/Context;)Ljava/lang/CharSequence;", "GetCoerceToText_Landroid_content_Context_Handler")>]
abstract member CoerceToTextFormatted : Android.Content.Context -> Java.Lang.ICharSequence
override this.CoerceToTextFormatted : Android.Content.Context -> Java.Lang.ICharSequence

Parameters

context
Context

The caller's Context, from which its ContentResolver and other things can be retrieved.

Returns

ICharSequence
Attributes

Remarks

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