Share via


PhoneNumberUtils.CreateTtsSpannable(String) Method

Definition

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

public static string? CreateTtsSpannable (string? phoneNumber);
static member CreateTtsSpannable : string -> string

Parameters

phoneNumber
String

A CharSequence the entirety of which represents a phone number.

Returns

A CharSequence with appropriate annotations.

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