public static enum Rssi.RssiMeasurementType extends java.lang.Enum<Rssi.RssiMeasurementType>
Enum Constant and Description |
---|
DBM
Decibels referenced to one milliwatt
|
UNKNOWN
A measurement type not supported in this version of the API
|
Modifier and Type | Method and Description |
---|---|
static Rssi.RssiMeasurementType |
convertToRssiMeasurementType(int type)
Creates the measurement type from the raw value.
|
int |
getType()
Gets the raw value of this measurement type.
|
static Rssi.RssiMeasurementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rssi.RssiMeasurementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rssi.RssiMeasurementType DBM
public static final Rssi.RssiMeasurementType UNKNOWN
public static Rssi.RssiMeasurementType[] values()
for (Rssi.RssiMeasurementType c : Rssi.RssiMeasurementType.values()) System.out.println(c);
public static Rssi.RssiMeasurementType 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 getType()
public static Rssi.RssiMeasurementType convertToRssiMeasurementType(int type)
type
- The raw value for the measurement type.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.