Class Session
Container for a full analytics session. Sessions are usually divided from the moment the user starts the application until the moment the user closes it.
A session is made of Activities, which can be classified as a group of actions made per user. Each of these could be a single UI panel, a functionality of your app, etc.
Inheritance
System.Object
Session
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Appearition.SDK.dll
Syntax
[Serializable]
public class Session
Constructors
View Source
Session()
Declaration
View Source
Session(String, Int32)
Declaration
public Session(string tenantKey, int channelId)
Parameters
Type |
Name |
Description |
System.String |
tenantKey |
|
System.Int32 |
channelId |
|
View Source
Session(String, Int32, Dictionary<String, String>)
Declaration
public Session(string tenantKey, int channelId, Dictionary<string, string> clientInformation)
Parameters
Type |
Name |
Description |
System.String |
tenantKey |
|
System.Int32 |
channelId |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
clientInformation |
|
Fields
View Source
Activities
Declaration
public List<Activity> Activities
Field Value
Type |
Description |
System.Collections.Generic.List<Activity> |
|
View Source
ChannelId
Declaration
Field Value
Type |
Description |
System.Int32 |
|
View Source
Declaration
public List<AnalyticsData> ClientInformation
Field Value
View Source
EndUtcDateTime
Declaration
public string EndUtcDateTime
Field Value
Type |
Description |
System.String |
|
View Source
IsSyncedWithEms
Declaration
public bool IsSyncedWithEms
Field Value
Type |
Description |
System.Boolean |
|
View Source
OriginatingIpAddress
Current user global IP address.
Declaration
public string OriginatingIpAddress
Field Value
Type |
Description |
System.String |
|
View Source
OriginatingTimezone
Declaration
public string OriginatingTimezone
Field Value
Type |
Description |
System.String |
|
View Source
SessionKey
Declaration
Field Value
Type |
Description |
System.String |
|
View Source
StartUtcDateTime
Declaration
public string StartUtcDateTime
Field Value
Type |
Description |
System.String |
|
View Source
TenantKey
Declaration
Field Value
Type |
Description |
System.String |
|
View Source
UserAgent
Information about the current device used by the current user.
Declaration
Field Value
Type |
Description |
System.String |
|
View Source
UserKey
Information about the current user.
It can be the username, name of your choice or authentication token; but we recommend using the token.
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
View Source
EndDateTime
Declaration
public DateTime EndDateTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
StartDateTime
Declaration
public DateTime StartDateTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
Extension Methods