C# Class Microsoft.HockeyApp.Extensibility.Windows.SessionTelemetryModule

Tracks user sessions for Store Apps (Windows Store and Windows Phone).
Inheritance: ITelemetryInitializer, ITelemetryModule
Show file Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Public Methods

Method Description
Initialize ( ) : void

Initializes this instance of SessionTelemetryModule and begins session tracking.

Private Methods

Method Description
GetPreviousSession ( string &previousSessionId, DateTimeOffset &previousSessionEnd ) : bool
HandleApplicationStartedEvent ( object sender, object e ) : void
HandleApplicationStoppingEvent ( object sender, object e ) : void
ITelemetryInitializer ( ITelemetry telemetry ) : void

Initializes SessionContext.Id property of the TelemetryContext.Session context.

IsSessionActive ( DateTimeOffset sessionEnd ) : bool
SaveSessionState ( ) : void
SessionTelemetryModule ( ) : System

Initializes a new instance of the SessionTelemetryModule class.

SessionTelemetryModule ( IPlatformService platform, IClock clock ) : System
Track ( SessionState state, string id, DateTimeOffset timestamp ) : void
TrackSessionState ( ) : void

Method Details

Initialize() public method

Initializes this instance of SessionTelemetryModule and begins session tracking.
public Initialize ( ) : void
return void