Share via


ClipData.Item.CoerceToStyledText(Context) Method

Definition

Like #coerceToHtmlText(Context), but any text that would be returned as HTML formatting will be returned as text with style spans.

public string CoerceToStyledText (Android.Content.Context context);
member this.CoerceToStyledText : Android.Content.Context -> string

Parameters

context
Context

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

Returns

Returns the item's textual representation.

Remarks

Like #coerceToHtmlText(Context), but any text that would be returned as HTML formatting will be returned as text with style spans.

Java documentation for android.content.ClipData.Item.coerceToStyledText(android.content.Context).

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