Package org.robovm.apple.healthkit
Enum HKWeatherCondition
- java.lang.Object
-
- java.lang.Enum<HKWeatherCondition>
-
- org.robovm.apple.healthkit.HKWeatherCondition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HKWeatherCondition>
,org.robovm.rt.bro.ValuedEnum
public enum HKWeatherCondition extends java.lang.Enum<HKWeatherCondition> implements org.robovm.rt.bro.ValuedEnum
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Blustery
Clear
Cloudy
Drizzle
Dust
Fair
Foggy
FreezingDrizzle
FreezingRain
Hail
Haze
Hurricane
MixedRainAndHail
MixedRainAndSleet
MixedRainAndSnow
MixedSnowAndSleet
MostlyCloudy
None
PartlyCloudy
ScatteredShowers
Showers
Sleet
Smoky
Snow
Thunderstorms
Tornado
TropicalStorm
Windy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static HKWeatherCondition
valueOf(long n)
Returns the enum constant of this type with the specified name.static HKWeatherCondition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HKWeatherCondition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final HKWeatherCondition None
-
Clear
public static final HKWeatherCondition Clear
-
Fair
public static final HKWeatherCondition Fair
-
PartlyCloudy
public static final HKWeatherCondition PartlyCloudy
-
MostlyCloudy
public static final HKWeatherCondition MostlyCloudy
-
Cloudy
public static final HKWeatherCondition Cloudy
-
Foggy
public static final HKWeatherCondition Foggy
-
Haze
public static final HKWeatherCondition Haze
-
Windy
public static final HKWeatherCondition Windy
-
Blustery
public static final HKWeatherCondition Blustery
-
Smoky
public static final HKWeatherCondition Smoky
-
Dust
public static final HKWeatherCondition Dust
-
Snow
public static final HKWeatherCondition Snow
-
Hail
public static final HKWeatherCondition Hail
-
Sleet
public static final HKWeatherCondition Sleet
-
FreezingDrizzle
public static final HKWeatherCondition FreezingDrizzle
-
FreezingRain
public static final HKWeatherCondition FreezingRain
-
MixedRainAndHail
public static final HKWeatherCondition MixedRainAndHail
-
MixedRainAndSnow
public static final HKWeatherCondition MixedRainAndSnow
-
MixedRainAndSleet
public static final HKWeatherCondition MixedRainAndSleet
-
MixedSnowAndSleet
public static final HKWeatherCondition MixedSnowAndSleet
-
Drizzle
public static final HKWeatherCondition Drizzle
-
ScatteredShowers
public static final HKWeatherCondition ScatteredShowers
-
Showers
public static final HKWeatherCondition Showers
-
Thunderstorms
public static final HKWeatherCondition Thunderstorms
-
TropicalStorm
public static final HKWeatherCondition TropicalStorm
-
Hurricane
public static final HKWeatherCondition Hurricane
-
Tornado
public static final HKWeatherCondition Tornado
-
-
Method Detail
-
values
public static HKWeatherCondition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HKWeatherCondition c : HKWeatherCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HKWeatherCondition valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static HKWeatherCondition valueOf(long n)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
n
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-