QEverCloud
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::ClientUsageMetrics Struct Reference

This structure is passed from clients to the Evernote service when they wish to relay coarse-grained usage metrics to the service to help improve products. More...

Public Member Functions

bool operator!= (const ClientUsageMetrics &other) const
 
bool operator== (const ClientUsageMetrics &other) const
 

Public Attributes

Optional< qint32 > sessions
 This field contains a count of the number of usage "sessions" that have occurred with this client which have not previously been reported to the service. More...
 

Detailed Description

This structure is passed from clients to the Evernote service when they wish to relay coarse-grained usage metrics to the service to help improve products.

Member Data Documentation

Optional< qint32 > qevercloud::ClientUsageMetrics::sessions

This field contains a count of the number of usage "sessions" that have occurred with this client which have not previously been reported to the service.

A "session" is defined as one of the 96 fifteen-minute intervals of the day when someone used Evernote's interface at least once. So if a user interacts with an Evernote client at 12:18, 12:24, and 12:36, and then the client synchronizes at 12:39, it would report that there were two previously-unreported sessions (one session for the 12:15-12:30 time period, and one for the 12:30-12:45 period). If the user used Evernote again at 12:41 and synchronized at 12:43, it would not report any new sessions, because the 12:30-12:45 session had already been reported.