Public Member Functions | |
void | checkUploadMetrics () |
Perform anonymous metrics upload if needed. This method checks how much time has elapsed since the last time metrics were uploaded. If enough time has elapsed, metrics data is extracted from the user's dataremote repository and sent to the metrics server. The metrics repository is then emptied and a new metrics gathering session begins. This function may return without performing any task if the user has disabled metrics gathering. | |
boolean | getSessionFlag () |
Returns the session flag. The session flag is set when the application starts up, and cleared when it terminates. This allows a simple detection of crashes if this function returns true before. setSessionFlag(true) has been called. | |
void | setSessionFlag (in boolean flag) |
Sets the session flag. The session flag is set when the application starts up, and cleared when it terminates. This allows a simple detection of crashes if getSessionFlag returns true before this function has been called with a value of 'true'. |
Definition at line 44 of file sbIMetrics.idl.
void sbIMetrics::setSessionFlag | ( | in boolean | flag | ) |
Sets the session flag. The session flag is set when the application starts up, and cleared when it terminates. This allows a simple detection of crashes if getSessionFlag returns true before this function has been called with a value of 'true'.
flag | the value of the session flag (boolean) |