com.garmin.fit
Class CommTimeoutType

java.lang.Object
  extended by com.garmin.fit.CommTimeoutType

public class CommTimeoutType
extends java.lang.Object


Field Summary
static int CONNECTION_LOST
           
static int CONNECTION_TIMEOUT
           
static int INVALID
           
static int PAIRING_TIMEOUT
           
static int WILDCARD_PAIRING_TIMEOUT
           
 
Constructor Summary
CommTimeoutType()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Integer value)
          Retrieves the String Representation of the Value
static java.lang.Integer getValueFromString(java.lang.String value)
          Retrieves a value given a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WILDCARD_PAIRING_TIMEOUT

public static final int WILDCARD_PAIRING_TIMEOUT
See Also:
Constant Field Values

PAIRING_TIMEOUT

public static final int PAIRING_TIMEOUT
See Also:
Constant Field Values

CONNECTION_LOST

public static final int CONNECTION_LOST
See Also:
Constant Field Values

CONNECTION_TIMEOUT

public static final int CONNECTION_TIMEOUT
See Also:
Constant Field Values

INVALID

public static final int INVALID
Constructor Detail

CommTimeoutType

public CommTimeoutType()
Method Detail

getStringFromValue

public static java.lang.String getStringFromValue(java.lang.Integer value)
Retrieves the String Representation of the Value

Returns:
The string representation of the value, or empty if unknown

getValueFromString

public static java.lang.Integer getValueFromString(java.lang.String value)
Retrieves a value given a string representation

Returns:
The value or INVALID if unkwown