Class HMPresenceEventType


  • public final class HMPresenceEventType
    extends java.lang.Object
    This enumeration describes the different types of presence events.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long AtHome
      Convenience value for First Entry to use in predicate of HMEventTrigger.
      static long EveryEntry
      This corresponds to trigger an event for every user entering a home.
      static long EveryExit
      This corresponds to trigger an event for every user exiting a home.
      static long FirstEntry
      This corresponds to trigger an event for the first user entering a home.
      static long LastExit
      This corresponds to trigger an event for the last user exiting a home.
      static long NotAtHome
      Convenience value for Last Exit to use in predicate of HMEventTrigger.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EveryEntry

        public static final long EveryEntry
        This corresponds to trigger an event for every user entering a home. This cannot be added as predicate.
        See Also:
        Constant Field Values
      • EveryExit

        public static final long EveryExit
        This corresponds to trigger an event for every user exiting a home. This cannot be added as predicate.
        See Also:
        Constant Field Values
      • FirstEntry

        public static final long FirstEntry
        This corresponds to trigger an event for the first user entering a home.
        See Also:
        Constant Field Values
      • LastExit

        public static final long LastExit
        This corresponds to trigger an event for the last user exiting a home.
        See Also:
        Constant Field Values
      • AtHome

        public static final long AtHome
        Convenience value for First Entry to use in predicate of HMEventTrigger.
        See Also:
        Constant Field Values
      • NotAtHome

        public static final long NotAtHome
        Convenience value for Last Exit to use in predicate of HMEventTrigger.
        See Also:
        Constant Field Values