Session

public class Session

Represents a particular user's session within the app.

Types

Link copied to clipboard
public final class Builder

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public String getAppState()
Link copied to clipboard
public String getCrashReportId()
Link copied to clipboard
public Long getEndTime()
Link copied to clipboard
public Object getEndType()
Link copied to clipboard
public List<String> getErrorLogIds()
Link copied to clipboard
public Integer getErrorLogsAttemptedToSend()
Link copied to clipboard
public List<String> getEventIds()
Link copied to clipboard
public ExceptionError getExceptionError()
Link copied to clipboard
public List<String> getInfoLogIds()
Link copied to clipboard
public Integer getInfoLogsAttemptedToSend()
Link copied to clipboard
public Long getLastHeartbeatTime()
Link copied to clipboard
public String getMessageType()
Link copied to clipboard
public List<String> getNetworkLogIds()
Link copied to clipboard
public Integer getNumber()
Link copied to clipboard
public List<Orientation> getOrientations()
Link copied to clipboard
public Map<String, String> getProperties()
Link copied to clipboard
public Long getSdkStartupDuration()
Link copied to clipboard
public String getSessionId()
Link copied to clipboard
public Long getStartTime()
Link copied to clipboard
public Object getStartType()
Link copied to clipboard
public Long getStartupDuration()
Link copied to clipboard
public List<StartupStacktrace> getStartupStacktraces()
Link copied to clipboard
public Long getStartupThreshold()
Link copied to clipboard
public Long getTerminationTime()
Link copied to clipboard
public Integer getUnhandledExceptions()
Link copied to clipboard
public UserInfo getUser()
Link copied to clipboard
public List<String> getWarningLogIds()
Link copied to clipboard
public Integer getWarnLogsAttemptedToSend()
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public Boolean isColdStart()
Link copied to clipboard
public Boolean isEndedCleanly()
Link copied to clipboard
public Boolean isReceivedTermination()
Link copied to clipboard
public static Session.Builder newBuilder()
public static Session.Builder newBuilder(Session copy)

Properties

Link copied to clipboard
@SerializedName(value = "as")
public final String appState
Application state for this session (foreground or background)
Link copied to clipboard
@SerializedName(value = "ri")
public final String crashReportId
Link copied to clipboard
@SerializedName(value = "et")
public final Long endTime
The time that the session ended.
Link copied to clipboard
@SerializedName(value = "em")
public final Object endType
Link copied to clipboard
@SerializedName(value = "el")
public final List<String> errorLogIds
Link copied to clipboard
@SerializedName(value = "lec")
public final Integer errorLogsAttemptedToSend
Link copied to clipboard
@SerializedName(value = "ss")
public final List<String> eventIds
Link copied to clipboard
@SerializedName(value = "e")
public final ExceptionError exceptionError
Link copied to clipboard
@SerializedName(value = "il")
public final List<String> infoLogIds
Link copied to clipboard
@SerializedName(value = "lic")
public final Integer infoLogsAttemptedToSend
Link copied to clipboard
@SerializedName(value = "ht")
public final Long lastHeartbeatTime
Link copied to clipboard
@SerializedName(value = "ty")
public final String messageType
Type of the session message (start or end)
Link copied to clipboard
@SerializedName(value = "nc")
public final List<String> networkLogIds
Link copied to clipboard
@SerializedName(value = "sn")
public final Integer number
The ordinal of the session, starting from 1.
Link copied to clipboard
@SerializedName(value = "oc")
public final List<Orientation> orientations
Link copied to clipboard
@SerializedName(value = "sp")
public final Map<String, String> properties
Link copied to clipboard
@SerializedName(value = "si")
public final Long sdkStartupDuration
Link copied to clipboard
@SerializedName(value = "id")
public final String sessionId
A unique ID which identifies the session.
Link copied to clipboard
@SerializedName(value = "st")
public final Long startTime
The time that the session started.
Link copied to clipboard
@SerializedName(value = "sm")
public final Object startType
Link copied to clipboard
@SerializedName(value = "sd")
public final Long startupDuration
Link copied to clipboard
@SerializedName(value = "sst")
public final List<StartupStacktrace> startupStacktraces
Link copied to clipboard
@SerializedName(value = "sdt")
public final Long startupThreshold
Link copied to clipboard
@SerializedName(value = "tt")
public final Long terminationTime
Link copied to clipboard
@SerializedName(value = "ue")
public final Integer unhandledExceptions
Link copied to clipboard
public final transient UserInfo user
Link copied to clipboard
@SerializedName(value = "wl")
public final List<String> warningLogIds
Link copied to clipboard
@SerializedName(value = "lwc")
public final Integer warnLogsAttemptedToSend