public enum AWSIotMqttQos extends Enum<AWSIotMqttQos>
| Modifier and Type | Method and Description |
|---|---|
int |
asInt()
Get as an integer to use in MQTT calls requiring an int.
|
static AWSIotMqttQos |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AWSIotMqttQos[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AWSIotMqttQos QOS0
public static final AWSIotMqttQos QOS1
public static AWSIotMqttQos[] values()
for (AWSIotMqttQos c : AWSIotMqttQos.values()) System.out.println(c);
public static AWSIotMqttQos valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int asInt()
Copyright © 2017. All rights reserved.