Share via


PhoneNumberUtils.CreateTtsSpannableFormatted(ICharSequence) Method

Definition

Wrap the supplied CharSequence with a TtsSpan, annotating it as containing a phone number in its entirety.

[Android.Runtime.Register("createTtsSpannable", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "", ApiSince=23)]
public static Java.Lang.ICharSequence? CreateTtsSpannableFormatted (Java.Lang.ICharSequence? phoneNumber);
[<Android.Runtime.Register("createTtsSpannable", "(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;", "", ApiSince=23)>]
static member CreateTtsSpannableFormatted : Java.Lang.ICharSequence -> Java.Lang.ICharSequence

Parameters

phoneNumber
ICharSequence

A CharSequence the entirety of which represents a phone number.

Returns

A CharSequence with appropriate annotations.

Attributes

Remarks

Wrap the supplied CharSequence with a TtsSpan, annotating it as containing a phone number in its entirety.

Java documentation for android.telephony.PhoneNumberUtils.createTtsSpannable(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