Enum TmdBackgroundOperation

    • 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null