Language

TtsSpan.TextBuilder Constructors

Definition

Overloads

Name Description
TtsSpan.TextBuilder()

Creates a builder for a TtsSpan of type #TYPE_TEXT.

TtsSpan.TextBuilder(String)

Creates a TtsSpan of type #TYPE_TEXT and sets the #ARG_TEXT argument.

TtsSpan.TextBuilder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TtsSpan.TextBuilder()

Creates a builder for a TtsSpan of type #TYPE_TEXT.

[Android.Runtime.Register(".ctor", "()V", "")]
public TextBuilder();
Attributes

Remarks

Creates a builder for a TtsSpan of type #TYPE_TEXT.

Java documentation for android.text.style.TtsSpan.TextBuilder.TtsSpan$TextBuilder().

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

TtsSpan.TextBuilder(String)

Creates a TtsSpan of type #TYPE_TEXT and sets the #ARG_TEXT argument.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public TextBuilder(string? text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Text.Style.TtsSpan.TextBuilder : string -> Android.Text.Style.TtsSpan.TextBuilder

Parameters

text
String

The text to be synthesized.

Attributes

Remarks

Creates a TtsSpan of type #TYPE_TEXT and sets the #ARG_TEXT argument.

Java documentation for android.text.style.TtsSpan.TextBuilder.TtsSpan$TextBuilder(java.lang.String).

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

TtsSpan.TextBuilder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected TextBuilder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.TtsSpan.TextBuilder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.TtsSpan.TextBuilder

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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