Udostępnij za pośrednictwem


FormattedNumber.OutputUnit Property

Definition

Gets the resolved output unit.

public virtual Android.Icu.Util.MeasureUnit? OutputUnit { [Android.Runtime.Register("getOutputUnit", "()Landroid/icu/util/MeasureUnit;", "GetGetOutputUnitHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getOutputUnit", "()Landroid/icu/util/MeasureUnit;", "GetGetOutputUnitHandler", ApiSince=33)>]
member this.OutputUnit : Android.Icu.Util.MeasureUnit

Property Value

MeasureUnit.

Attributes

Remarks

Gets the resolved output unit.

The output unit is dependent upon the localized preferences for the usage specified via NumberFormatterSettings.usage(), and may be a unit with MeasureUnit.Complexity.MIXED unit complexity (MeasureUnit.getComplexity()), such as "foot-and-inch" or "hour-and-minute-and-second".

Java documentation for android.icu.number.FormattedNumber.getOutputUnit().

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