MeasureUnit.SplitToSingleUnits Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the list of SINGLE units contained within a sequence of COMPOUND units.
[Android.Runtime.Register("splitToSingleUnits", "()Ljava/util/List;", "GetSplitToSingleUnitsHandler", ApiSince=33)]
public virtual System.Collections.Generic.IList<Android.Icu.Util.MeasureUnit>? SplitToSingleUnits ();
[<Android.Runtime.Register("splitToSingleUnits", "()Ljava/util/List;", "GetSplitToSingleUnitsHandler", ApiSince=33)>]
abstract member SplitToSingleUnits : unit -> System.Collections.Generic.IList<Android.Icu.Util.MeasureUnit>
override this.SplitToSingleUnits : unit -> System.Collections.Generic.IList<Android.Icu.Util.MeasureUnit>
Returns
An unmodifiable list of single units
- Attributes
Remarks
Returns the list of SINGLE units contained within a sequence of COMPOUND units.
Examples: - Given "meter-kilogram-per-second", three units will be returned: "meter", "kilogram", and "per-second". - Given "hour+minute+second", three units will be returned: "hour", "minute", and "second".
If this is a SINGLE unit, a list of length 1 will be returned.
Java documentation for android.icu.util.MeasureUnit.splitToSingleUnits()
.
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.