Language

TtsSpan.DecimalBuilder Constructors

Definition

Overloads

Name Description
TtsSpan.DecimalBuilder()

Creates a builder for a TtsSpan of type #TYPE_DECIMAL.

TtsSpan.DecimalBuilder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

TtsSpan.DecimalBuilder(String, String)

Creates a TtsSpan of type #TYPE_DECIMAL and sets the #ARG_INTEGER_PART and #ARG_FRACTIONAL_PART arguments.

TtsSpan.DecimalBuilder(Double, Int32, Int32)

Creates a decimal-span builder from a number.

TtsSpan.DecimalBuilder()

Creates a builder for a TtsSpan of type #TYPE_DECIMAL.

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

Remarks

Creates a builder for a TtsSpan of type #TYPE_DECIMAL.

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

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.DecimalBuilder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies how the runtime handles the JNI reference, including its release and peer registration.

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

TtsSpan.DecimalBuilder(String, String)

Creates a TtsSpan of type #TYPE_DECIMAL and sets the #ARG_INTEGER_PART and #ARG_FRACTIONAL_PART arguments.

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

Parameters

integerPart
String

The signed integer-part text to store in the decimal span.

fractionalPart
String

The fractional digits to store, without a decimal separator.

Attributes

Remarks

Creates a TtsSpan of type #TYPE_DECIMAL and sets the #ARG_INTEGER_PART and #ARG_FRACTIONAL_PART arguments.

Java documentation for android.text.style.TtsSpan.DecimalBuilder.TtsSpan$DecimalBuilder(java.lang.String, 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.DecimalBuilder(Double, Int32, Int32)

Creates a decimal-span builder from a number.

[Android.Runtime.Register(".ctor", "(DII)V", "")]
public DecimalBuilder(double number, int minimumFractionDigits, int maximumFractionDigits);
[<Android.Runtime.Register(".ctor", "(DII)V", "")>]
new Android.Text.Style.TtsSpan.DecimalBuilder : double * int * int -> Android.Text.Style.TtsSpan.DecimalBuilder

Parameters

number
Double

The number to format without grouping using the US number format. A fractional part is stored only if the formatted number contains a decimal point.

minimumFractionDigits
Int32

Unused by the Android implementation, which uses maximumFractionDigits for both formatter limits.

maximumFractionDigits
Int32

The fractional-digit limit used for both the minimum and maximum settings of the number formatter.

Attributes

Remarks

The builder stores the formatted integer part and stores the fractional part only when the formatted number contains a decimal point.

Java documentation for android.text.style.TtsSpan.DecimalBuilder.TtsSpan$DecimalBuilder(double, 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