public enum AWSIotMqttQos extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int asInt()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.