Language

TtsSpan.MoneyBuilder.SetCurrency(String) Method

Definition

Sets the TtsSpan.ARG_CURRENCY argument.

[Android.Runtime.Register("setCurrency", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$MoneyBuilder;", "GetSetCurrency_Ljava_lang_String_Handler")]
public virtual Android.Text.Style.TtsSpan.MoneyBuilder? SetCurrency(string? currency);
[<Android.Runtime.Register("setCurrency", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$MoneyBuilder;", "GetSetCurrency_Ljava_lang_String_Handler")>]
abstract member SetCurrency : string -> Android.Text.Style.TtsSpan.MoneyBuilder
override this.SetCurrency : string -> Android.Text.Style.TtsSpan.MoneyBuilder

Parameters

currency
String

Should be a ISO4217 currency code, e.g. "USD".

Returns

This instance.

Attributes

Remarks

Sets the TtsSpan.ARG_CURRENCY argument.

Android reference for android.text.style.TtsSpan.MoneyBuilder.setCurrency.

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