Language

TtsSpan.DecimalBuilder.SetArgumentsFromDouble(Double, Int32, Int32) Method

Definition

Convenience method takes a double and a maximum number of fractional digits, it sets the TtsSpan.ARG_INTEGER_PART and TtsSpan.ARG_FRACTIONAL_PART arguments.

[Android.Runtime.Register("setArgumentsFromDouble", "(DII)Landroid/text/style/TtsSpan$DecimalBuilder;", "GetSetArgumentsFromDouble_DIIHandler")]
public virtual Android.Text.Style.TtsSpan.DecimalBuilder? SetArgumentsFromDouble(double number, int minimumFractionDigits, int maximumFractionDigits);
[<Android.Runtime.Register("setArgumentsFromDouble", "(DII)Landroid/text/style/TtsSpan$DecimalBuilder;", "GetSetArgumentsFromDouble_DIIHandler")>]
abstract member SetArgumentsFromDouble : double * int * int -> Android.Text.Style.TtsSpan.DecimalBuilder
override this.SetArgumentsFromDouble : double * int * int -> Android.Text.Style.TtsSpan.DecimalBuilder

Parameters

number
Double

The number to be synthesized.

minimumFractionDigits
Int32

The minimum number of fraction digits that are pronounced.

maximumFractionDigits
Int32

The maximum number of fraction digits that are pronounced. If maximumFractionDigits < minimumFractionDigits then minimumFractionDigits will be assumed to be equal to maximumFractionDigits.

Returns

This instance.

Attributes

Remarks

Convenience method takes a double and a maximum number of fractional digits, it sets the TtsSpan.ARG_INTEGER_PART and TtsSpan.ARG_FRACTIONAL_PART arguments.

Android reference for android.text.style.TtsSpan.DecimalBuilder.setArgumentsFromDouble.

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