Developer

Automatically Reported Data

Information is recorded automatically when the developer initiates it in the program; it is automatically uploaded to the server as configured by the administrator.

User Session (Application Foreground and Background)

Call this method when the application moves to the background, usually handled in the application's OnSuspending(object sender, SuspendingEventArgs e) method:

Usage.ApplicationWillEnterBackgroundAsync()

Call this method when the application comes to the foreground, usually handled in the application's OnResuming (object sender, object e) method:

Usage.ApplicationWillEnterForeground()
This tracks when the application comes to the foreground and goes to the background. A userSessionID is generated and appended to each record that is recorded during the session.
{
    type : "timer",
    key : "User Session",
    info : {
                start: <timestamp>,
                duration: <ms offset from start>
                },
    appSessionId: <current appSession>,
    userSessionId: <generated random id>,
    timestamp : <timestamp>
}