public interface Session extends Usage
| Modifier and Type | Method and Description |
|---|---|
Session |
begin()
Start this session, add corresponding request to queue.
|
void |
end()
End this session, add corresponding request to queue.
|
java.lang.Long |
getBegan()
System.currentTimeMillis() of begin() call. |
java.lang.Long |
getEnded()
System.currentTimeMillis() of end() call. |
java.lang.Long |
getId()
System.nanoTime() of this instance creation. |
boolean |
isActive()
Whether this session was started and haven't been ended yet.
|
Session |
update()
Send update request to the server saying that user is still using the app.
|
addCrashReport, addCrashReport, addLocation, addParam, changeDeviceIdWithMerge, changeDeviceIdWithoutMerge, event, getDeviceId, login, logout, resetDeviceId, timedEvent, user, view, viewjava.lang.Long getId()
System.nanoTime() of this instance creation.java.lang.Long getBegan()
System.currentTimeMillis() of begin() call.java.lang.Long getEnded()
System.currentTimeMillis() of end() call.Session begin()
Session update()
void end()