@Deprecated public final class SessionStateTelemetry extends BaseTelemetry<SessionStateData>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE_TYPE
Deprecated.
Base Type for this telemetry.
|
static java.lang.String |
ENVELOPE_NAME
Deprecated.
Envelope Name for this telemetry.
|
TELEMETRY_NAME_PREFIX| Constructor and Description |
|---|
SessionStateTelemetry()
Deprecated.
Default initialization of a new instance of the class.
|
SessionStateTelemetry(SessionState sessionState)
Deprecated.
Initializes a new instance of the class with the specified
sessionState |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalSanitize()
Deprecated.
|
java.lang.String |
getBaseTypeName()
Deprecated.
|
protected SessionStateData |
getData()
Deprecated.
Concrete classes should implement this method which supplies the
data structure that this instance works with, which needs to implement
JsonSerializable |
java.lang.String |
getEnvelopName()
Deprecated.
|
SessionState |
getSessionState()
Deprecated.
Gets the session state.
|
int |
getVer()
Deprecated.
|
void |
setSessionState(SessionState sessionState)
Deprecated.
Sets the session state.
|
getContext, getProperties, getSequence, getTelemetryName, getTimestamp, initialize, normalizeInstrumentationKey, reset, sanitize, serialize, setSampleRate, setSequence, setTimestamp, toStringpublic static final java.lang.String ENVELOPE_NAME
public static final java.lang.String BASE_TYPE
public SessionStateTelemetry()
public SessionStateTelemetry(SessionState sessionState)
sessionStatesessionState - value indicating state of the user session (Start or End).public int getVer()
getVer in class BaseTelemetry<SessionStateData>public SessionState getSessionState()
public void setSessionState(SessionState sessionState)
sessionState - the session state.@Deprecated protected void additionalSanitize()
BaseTelemetryadditionalSanitize in class BaseTelemetry<SessionStateData>protected SessionStateData getData()
BaseTelemetryJsonSerializablegetData in class BaseTelemetry<SessionStateData>public java.lang.String getEnvelopName()
getEnvelopName in class BaseTelemetry<SessionStateData>public java.lang.String getBaseTypeName()
getBaseTypeName in class BaseTelemetry<SessionStateData>