TtsSpan.DecimalBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TtsSpan.DecimalBuilder() |
Creates a builder for a TtsSpan of type |
| TtsSpan.DecimalBuilder(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| TtsSpan.DecimalBuilder(String, String) |
Creates a TtsSpan of type |
| TtsSpan.DecimalBuilder(Double, Int32, Int32) |
Creates a TtsSpan of type |
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 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
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.
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 TtsSpan of type #TYPE_DECIMAL and sets the
#ARG_INTEGER_PART and #ARG_FRACTIONAL_PART arguments.
[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, then split into integer and fractional parts.
- 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
Creates a TtsSpan of type #TYPE_DECIMAL and sets the #ARG_INTEGER_PART and #ARG_FRACTIONAL_PART arguments.
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.