Gallagher Mobile Connect SDK
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.gallagher.security.mobileaccess.BluetoothConnectionSensitivity Enum Reference

Inherits com.gallagher.security.mobileaccess.StringValueConvertible.

Public Member Functions

 BluetoothConnectionSensitivity (double x)
 
double getValue ()
 
String stringValue ()
 
String stringValue ()
 

Static Public Member Functions

static BluetoothConnectionSensitivity from (double value)
 

Public Attributes

 VERY_LOW =(-5)
 Adjusts the observed path loss for nearby readers by -5 dBm.
 
 LOW =(-2.5)
 Adjusts the observed path loss for nearby readers by -2.5 dBm.
 
 NORMAL =(0)
 Adjusts the observed path loss for nearby readers by 0 dBm.
 

Constructor & Destructor Documentation

◆ BluetoothConnectionSensitivity()

com.gallagher.security.mobileaccess.BluetoothConnectionSensitivity.BluetoothConnectionSensitivity ( double  x)
19 {
20 mValue = x;
21 }

Member Function Documentation

◆ from()

static BluetoothConnectionSensitivity com.gallagher.security.mobileaccess.BluetoothConnectionSensitivity.from ( double  value)
static
30 {
31 for(BluetoothConnectionSensitivity m : BluetoothConnectionSensitivity.values()){
32 if(m.mValue == value){
33 return m;
34 }
35 }
36
37 return null;
38 }

◆ getValue()

double com.gallagher.security.mobileaccess.BluetoothConnectionSensitivity.getValue ( )
25 {
26 return mValue;
27 }

◆ stringValue()

String com.gallagher.security.mobileaccess.BluetoothConnectionSensitivity.stringValue ( )
Returns
a programmatic string representation of this object. This value is NOT localised and is stable, so you can make logical decisions based on it's value

Implements com.gallagher.security.mobileaccess.StringValueConvertible.

42 {
43 switch (this) {
44 case VERY_LOW:
45 return "veryLow";
46 case LOW:
47 return "low";
48 case NORMAL:
49 return "normal";
50 default:
51 throw new FatalError("Impossible value for BluetoothConnectionSensitivity enum");
52 }
53 }
NORMAL
Adjusts the observed path loss for nearby readers by 0 dBm.
Definition: BluetoothConnectionSensitivity.java:17
LOW
Adjusts the observed path loss for nearby readers by -2.5 dBm.
Definition: BluetoothConnectionSensitivity.java:14
VERY_LOW
Adjusts the observed path loss for nearby readers by -5 dBm.
Definition: BluetoothConnectionSensitivity.java:11

The documentation for this enum was generated from the following file: