-
- All Implemented Interfaces:
-
com.onesignal.common.events.IEventNotifier
public interface ISessionService implements IEventNotifier<ISessionLifecycleHandler>
The session service provides access to the user session. It extends IEventNotifier allowing users of this service to subscribe to session lifecycle events.
-
-
Method Summary
Modifier and Type Method Description abstract LonggetStartTime()When the current session was started, in Unix time milliseconds. abstract BooleangetHasSubscribers()Whether there are currently any subscribers. -
-
Method Detail
-
getStartTime
abstract Long getStartTime()
When the current session was started, in Unix time milliseconds.
-
getHasSubscribers
abstract Boolean getHasSubscribers()
Whether there are currently any subscribers.
-
-
-
-