共用方式為


TtsSpan.ArgQuantity Field

Definition

Argument used to choose the suffix (thousand, million, etc) that is used to pronounce large amounts of money.

[Android.Runtime.Register("ARG_QUANTITY")]
public const string ArgQuantity;
[<Android.Runtime.Register("ARG_QUANTITY")>]
val mutable ArgQuantity : string

Field Value

Implements

Attributes

Remarks

Argument used to choose the suffix (thousand, million, etc) that is used to pronounce large amounts of money. For example it can be used to disambiguate between "two thousand five hundred dollars" and "two point five thousand dollars". If implemented, engines should support at least "1000", "1000000", "1000000000" and "1000000000000". Example: if the #ARG_INTEGER_PART argument is "10", the #ARG_FRACTIONAL_PART argument is "4", the #ARG_QUANTITY argument is "1000" and the #ARG_CURRENCY argument is "usd", the TTS engine may pronounce the span as "ten point four thousand dollars". With the same example but with the quantity set as "1000000" the TTS engine may pronounce the span as "ten point four million dollars". Can be used with #TYPE_MONEY.

Java documentation for android.text.style.TtsSpan.ARG_QUANTITY.

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