PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | List of all members
PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior Class Reference

The class which controls the behavior of ApplicationStop for the PAClient More...

Public Member Functions

ApplicationStopBehavior Copy ()
 Makes a deep copy of the current object More...
 

Public Attributes

int StopTimeout
 The maximum amount of time in milliseconds that ApplicationStop will block for when stopping synchronously If something goes wrong and it takes longer than this, then the method will return even if a batch of messages could be lost. If set to null, the value will be set to the most useful value for the current platform More...
 
int NeededTimeForSavingAtStop
 The amount of time in milliseconds that should be dedicated to saving all unsent messages to offline storage at ApplicationStop If set to null, the value will be set to the most useful value for the current platform More...
 
int SessionExtensionWindow
 This allows a session to be "extended" whenever an application start is called soon after an application stop. For example in mobile applications when the user switches screens or is briefly interrupted. The value, in milliseconds, indicates the amount of time allowed before an app-stop is actually executed. A value of 0 disables this feature. If set to null, the value will be set to the most useful value for the current platform More...
 
bool DefaultsToSynchronousStop
 If set to true, then when doing ApplicationStop(), the method will translate to ApplicationStopSync, else it will default to ApplicationStopAsync If set to null, the value will be set to the most useful value for the current platform More...
 

Detailed Description

The class which controls the behavior of ApplicationStop for the PAClient

Member Function Documentation

ApplicationStopBehavior PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior.Copy ( )

Makes a deep copy of the current object

Returns
Returns a copy of this object

Member Data Documentation

bool PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior.DefaultsToSynchronousStop

If set to true, then when doing ApplicationStop(), the method will translate to ApplicationStopSync, else it will default to ApplicationStopAsync If set to null, the value will be set to the most useful value for the current platform

int PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior.NeededTimeForSavingAtStop

The amount of time in milliseconds that should be dedicated to saving all unsent messages to offline storage at ApplicationStop If set to null, the value will be set to the most useful value for the current platform

int PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior.SessionExtensionWindow

This allows a session to be "extended" whenever an application start is called soon after an application stop. For example in mobile applications when the user switches screens or is briefly interrupted. The value, in milliseconds, indicates the amount of time allowed before an app-stop is actually executed. A value of 0 disables this feature. If set to null, the value will be set to the most useful value for the current platform

int PreEmptive.Analytics.Common.Configuration.ApplicationStopBehavior.StopTimeout

The maximum amount of time in milliseconds that ApplicationStop will block for when stopping synchronously If something goes wrong and it takes longer than this, then the method will return even if a batch of messages could be lost. If set to null, the value will be set to the most useful value for the current platform


The documentation for this class was generated from the following file: