MeasureUnit.Reciprocal 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.
Computes the reciprocal of this MeasureUnit, with the numerator and denominator flipped.
[Android.Runtime.Register("reciprocal", "()Landroid/icu/util/MeasureUnit;", "GetReciprocalHandler", ApiSince=33)]
public virtual Android.Icu.Util.MeasureUnit? Reciprocal ();
[<Android.Runtime.Register("reciprocal", "()Landroid/icu/util/MeasureUnit;", "GetReciprocalHandler", ApiSince=33)>]
abstract member Reciprocal : unit -> Android.Icu.Util.MeasureUnit
override this.Reciprocal : unit -> Android.Icu.Util.MeasureUnit
Returns
The reciprocal of the target unit.
- Attributes
Remarks
Computes the reciprocal of this MeasureUnit, with the numerator and denominator flipped.
For example, if the receiver is "meter-per-second", the unit "second-per-meter" is returned.
NOTE: Only works on SINGLE and COMPOUND units. If this is a MIXED unit, an error will occur. For more information, Complexity
.
Java documentation for android.icu.util.MeasureUnit.reciprocal()
.
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.