Share via


Currency.FromJavaCurrency(Currency) Method

Definition

Returns a Currency object based on the currency represented by the given java.

[Android.Runtime.Register("fromJavaCurrency", "(Ljava/util/Currency;)Landroid/icu/util/Currency;", "", ApiSince=29)]
public static Android.Icu.Util.Currency? FromJavaCurrency (Java.Util.Currency? currency);
[<Android.Runtime.Register("fromJavaCurrency", "(Ljava/util/Currency;)Landroid/icu/util/Currency;", "", ApiSince=29)>]
static member FromJavaCurrency : Java.Util.Currency -> Android.Icu.Util.Currency

Parameters

currency
Currency

The Java currency object to convert.

Returns

An equivalent ICU currency object.

Attributes

Remarks

Returns a Currency object based on the currency represented by the given java.util.Currency.

Java documentation for android.icu.util.Currency.fromJavaCurrency(java.util.Currency).

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