Class HKUnit

    • Field Detail

      • MolarMassBloodGlucose

        public static final double MolarMassBloodGlucose
        See Also:
        Constant Field Values
    • Method Detail

      • getUnitString

        public java.lang.String getUnitString()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • isNull

        public boolean isNull()
      • fromString

        public static HKUnit fromString​(java.lang.String string)
      • gram

        public static HKUnit gram()
      • ounce

        public static HKUnit ounce()
      • pound

        public static HKUnit pound()
      • stone

        public static HKUnit stone()
      • mole

        public static HKUnit mole​(double gramsPerMole)
      • meter

        public static HKUnit meter()
      • inch

        public static HKUnit inch()
      • foot

        public static HKUnit foot()
      • yard

        public static HKUnit yard()
        Available in iOS 9.0 and later.
      • mile

        public static HKUnit mile()
      • liter

        public static HKUnit liter()
      • fluidOunceUS

        public static HKUnit fluidOunceUS()
      • fluidOunceImperial

        public static HKUnit fluidOunceImperial()
      • pintUS

        public static HKUnit pintUS()
      • pintImperial

        public static HKUnit pintImperial()
      • cupUS

        public static HKUnit cupUS()
        Available in iOS 9.0 and later.
      • cupImperial

        public static HKUnit cupImperial()
        Available in iOS 9.0 and later.
      • pascal

        public static HKUnit pascal()
      • millimeterOfMercury

        public static HKUnit millimeterOfMercury()
      • centimeterOfWater

        public static HKUnit centimeterOfWater()
      • atmosphere

        public static HKUnit atmosphere()
      • second

        public static HKUnit second()
      • minute

        public static HKUnit minute()
      • hour

        public static HKUnit hour()
      • day

        public static HKUnit day()
      • joule

        public static HKUnit joule()
      • kilocalorie

        public static HKUnit kilocalorie()
      • smallCalorie

        public static HKUnit smallCalorie()
        Available in iOS 11.0 and later.
      • largeCalorie

        public static HKUnit largeCalorie()
        Available in iOS 11.0 and later.
      • calorie

        public static HKUnit calorie()
        Deprecated in iOS 11.0.
        Available in iOS 8.0 and later.
      • degreeCelsius

        public static HKUnit degreeCelsius()
      • degreeFahrenheit

        public static HKUnit degreeFahrenheit()
      • kelvin

        public static HKUnit kelvin()
      • siemen

        public static HKUnit siemen()
      • international

        public static HKUnit international()
        Available in iOS 11.0 and later.
      • count

        public static HKUnit count()
      • percent

        public static HKUnit percent()
      • raiseToPower

        public HKUnit raiseToPower​(long power)
      • reciprocalUnit

        public HKUnit reciprocalUnit()
      • init

        protected long init​(NSCoder decoder)