public interface PresenceProvider extends PresenceResourceHelper, Identifiable, EventListenerModel, ResourceUser
Modifier and Type | Method and Description |
---|---|
default void |
eventFired(EventModel event)
Invoked when an activator-event occurs.
|
PresenceIndicatorLevel |
getLevel()
gets the PresenceIndicatorLevel of the addon (mainly used for communication between presence-providing addons)
|
boolean |
isFirstEncountering()
returns true if the user is first encountered in the current mode
|
boolean |
isKnown()
whether it is known that the user caused the presence
|
boolean |
isPresent()
returns true if the user might be/is present
|
boolean |
isStrict()
true if the addon can guarantee that the user is around, false if not
|
void |
setGlobalPresent(boolean present)
when this method is called the present-status was changed
|
void |
setGlobalStrictPresent(boolean present)
when this method is called, the strict-present status was changed
|
getIsPresent, nonStrictAvailable
generateResource, generateResource
debug, debug, error, error, getContext
getID, isOwner
boolean isStrict()
PresenceIndicatorLevel getLevel()
boolean isPresent()
boolean isKnown()
void setGlobalPresent(boolean present)
present
- true if present, false if notboolean isFirstEncountering()
void setGlobalStrictPresent(boolean present)
present
- true if present, false if notdefault void eventFired(EventModel event)
eventFired
in interface EventListenerModel
event
- an instance of EventCopyright © 2016. All rights reserved.