Package fi.moprim.tmd.sdk.model
Enum TmdBackgroundOperation
- java.lang.Object
-
- java.lang.Enum<TmdBackgroundOperation>
-
- fi.moprim.tmd.sdk.model.TmdBackgroundOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TmdBackgroundOperation>
public enum TmdBackgroundOperation extends java.lang.Enum<TmdBackgroundOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TMD_ANALYSIS_START
Triggered when the MOPRIM TMD Service has noticed significant motion and starts analyzing motion sensor dataTMD_ANALYSIS_STOP
Triggered when the MOPRIM TMD Service is going to IDLE stateTMD_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads regular dataTMD_INITIALIZATION
Triggered when the MOPRIM TMD SDK is being initializedTMD_RAW_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads raw dataTMD_SERVICE_ERROR
Triggered when the MOPRIM TMD SDK produces an errorTMD_SERVICE_RUNNING
Triggered when the MOPRIM TMD Service is runningTMD_SERVICE_START
Triggered when the MOPRIM TMD Service is startedTMD_SERVICE_STOP
Triggered when the MOPRIM TMD Service is stoppedTMD_USER_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads user data data (phone model, OS, etc.)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TmdBackgroundOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TmdBackgroundOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TMD_RAW_DATA_UPLOAD
public static final TmdBackgroundOperation TMD_RAW_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads raw data
-
TMD_DATA_UPLOAD
public static final TmdBackgroundOperation TMD_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads regular data
-
TMD_USER_DATA_UPLOAD
public static final TmdBackgroundOperation TMD_USER_DATA_UPLOAD
Triggered when the MOPRIM TMD SDK uploads user data data (phone model, OS, etc.)
-
TMD_SERVICE_START
public static final TmdBackgroundOperation TMD_SERVICE_START
Triggered when the MOPRIM TMD Service is started
-
TMD_SERVICE_STOP
public static final TmdBackgroundOperation TMD_SERVICE_STOP
Triggered when the MOPRIM TMD Service is stopped
-
TMD_SERVICE_RUNNING
public static final TmdBackgroundOperation TMD_SERVICE_RUNNING
Triggered when the MOPRIM TMD Service is running
-
TMD_ANALYSIS_START
public static final TmdBackgroundOperation TMD_ANALYSIS_START
Triggered when the MOPRIM TMD Service has noticed significant motion and starts analyzing motion sensor data
-
TMD_ANALYSIS_STOP
public static final TmdBackgroundOperation TMD_ANALYSIS_STOP
Triggered when the MOPRIM TMD Service is going to IDLE state
-
TMD_INITIALIZATION
public static final TmdBackgroundOperation TMD_INITIALIZATION
Triggered when the MOPRIM TMD SDK is being initialized
-
TMD_SERVICE_ERROR
public static final TmdBackgroundOperation TMD_SERVICE_ERROR
Triggered when the MOPRIM TMD SDK produces an error
-
-
Method Detail
-
values
public static TmdBackgroundOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TmdBackgroundOperation c : TmdBackgroundOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TmdBackgroundOperation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-