Package 

Enum SHealthError

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum SHealthError
    
                        

    Error events from SHealth.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MISSING_SHEALTH_JAR

      You have not imported the S Health jar into your project!

      MISSING_USER

      No user has been set within the Session!

      RESOLVING_CONNECTION_FAILED

      We tried to connect to SHealth, but received an error that we can fix by launching another activity.

      NOTE: You will need to call either addSubscriptions or when your activity resumes.

      CONNECTION_FAILED

      An unrecoverable error has occurred when trying to connect to SHealth.

      INVALID_DATA_TYPE

      The data type requested is not valid for pulling history or registering for records.

      INVALID_PERMISSION

      The data requested does not have valid SHealth permissions

      INVALID_LICENSE

      Invalid License

    • Method Summary

      Modifier and Type Method Description
      static Array<SHealthError> values()
      static SHealthError valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait