-
- All Implemented Interfaces:
-
androidx.lifecycle.LifecycleObserver
public class PLYSessionManager implements LifecycleObserver
-
-
Field Summary
Fields Modifier and Type Field Description private StringsessionStartDateprivate StringdisplayedStartedAtprivate PLYPresentationpresentationpublic final static PLYSessionManagerINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitstartNewSession()final UnitonAppBackgrounded()final UnitonAppForegrounded()final StringgetSessionStartDate()final UnitsetSessionStartDate(String sessionStartDate)final StringgetDisplayedStartedAt()final UnitsetDisplayedStartedAt(String displayedStartedAt)final PLYPresentationgetPresentation()final UnitsetPresentation(PLYPresentation presentation)-
-
Method Detail
-
startNewSession
final Unit startNewSession()
-
onAppBackgrounded
final Unit onAppBackgrounded()
-
onAppForegrounded
final Unit onAppForegrounded()
-
getSessionStartDate
final String getSessionStartDate()
-
setSessionStartDate
final Unit setSessionStartDate(String sessionStartDate)
-
getDisplayedStartedAt
final String getDisplayedStartedAt()
-
setDisplayedStartedAt
final Unit setDisplayedStartedAt(String displayedStartedAt)
-
getPresentation
final PLYPresentation getPresentation()
-
setPresentation
final Unit setPresentation(PLYPresentation presentation)
-
-
-
-