Share via


PhoneNumberUtils.AddTtsSpan(ISpannable, Int32, Int32) Method

Definition

Attach a TtsSpan to the supplied Spannable at the indicated location, annotating that location as containing a phone number.

[Android.Runtime.Register("addTtsSpan", "(Landroid/text/Spannable;II)V", "", ApiSince=23)]
public static void AddTtsSpan (Android.Text.ISpannable? s, int start, int endExclusive);
[<Android.Runtime.Register("addTtsSpan", "(Landroid/text/Spannable;II)V", "", ApiSince=23)>]
static member AddTtsSpan : Android.Text.ISpannable * int * int -> unit

Parameters

s
ISpannable

A Spannable to annotate.

start
Int32

The starting character position of the phone number in s.

endExclusive
Int32

The position after the ending character in the phone number s.

Attributes

Remarks

Attach a TtsSpan to the supplied Spannable at the indicated location, annotating that location as containing a phone number.

Java documentation for android.telephony.PhoneNumberUtils.addTtsSpan(android.text.Spannable, int, int).

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