Package apple.homekit.enums
Class HMPresenceEventType
- java.lang.Object
-
- apple.homekit.enums.HMPresenceEventType
-
public final class HMPresenceEventType extends java.lang.ObjectThis enumeration describes the different types of presence events.
-
-
Field Summary
Fields Modifier and Type Field Description static longAtHomeConvenience value for First Entry to use in predicate of HMEventTrigger.static longEveryEntryThis corresponds to trigger an event for every user entering a home.static longEveryExitThis corresponds to trigger an event for every user exiting a home.static longFirstEntryThis corresponds to trigger an event for the first user entering a home.static longLastExitThis corresponds to trigger an event for the last user exiting a home.static longNotAtHomeConvenience value for Last Exit to use in predicate of HMEventTrigger.
-
-
-
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
-
-