C# Class AppActs.API.DataUploader.AppSession

Show file Open project: Appacts/mobile-analytics-server

Public Methods

Method Description
AppSession ( System.Guid deviceId, System.Guid applicationId, System.DateTime timeWhenUsed, string version, IDeviceService iDeviceService ) : System
Close ( long timeUsed ) : void
Crash ( ) : void
Error ( string errorMessage, string action, long flashSize, long memSize, int battery ) : void
Feedback ( FeedbackRatingType ratingType, string comment ) : void
NavigateToMain ( long timeUsedPrevScreen ) : void
NavigateToProfile ( long timeUsedPrevScreen ) : void
NavigateToResults ( long timeUsedPrevScreen ) : void
NavigateToSearching ( long timeUsedPrevScreen ) : void
NavigateToSettings ( long timeUsedPrevScreen ) : void
NavigateToSplash ( ) : void
Open ( ) : void
ScreenMainActionCancelSearch ( ) : void
ScreenMainActionSearch ( ) : void
ScreenResultActionViewProfile ( ) : void
ScreenResultsActionScroll ( ) : void
Searching ( int searching ) : void
Upgrade ( string appVersion ) : void

Private Methods

Method Description
addTime ( ) : void
logEvent ( EventType eventType, string screenName, string action, long timeUsed ) : void
logScreenClose ( string screenName, long timeUsed ) : void
logScreenOpen ( string screenName ) : void
navigateToNextScreen ( string nextScreen, string lastSreen, long lastScreenUsedTime ) : void

Method Details

AppSession() public method

public AppSession ( System.Guid deviceId, System.Guid applicationId, System.DateTime timeWhenUsed, string version, IDeviceService iDeviceService ) : System
deviceId System.Guid
applicationId System.Guid
timeWhenUsed System.DateTime
version string
iDeviceService IDeviceService
return System

Close() public method

public Close ( long timeUsed ) : void
timeUsed long
return void

Crash() public method

public Crash ( ) : void
return void

Error() public method

public Error ( string errorMessage, string action, long flashSize, long memSize, int battery ) : void
errorMessage string
action string
flashSize long
memSize long
battery int
return void

Feedback() public method

public Feedback ( FeedbackRatingType ratingType, string comment ) : void
ratingType FeedbackRatingType
comment string
return void

NavigateToMain() public method

public NavigateToMain ( long timeUsedPrevScreen ) : void
timeUsedPrevScreen long
return void

NavigateToProfile() public method

public NavigateToProfile ( long timeUsedPrevScreen ) : void
timeUsedPrevScreen long
return void

NavigateToResults() public method

public NavigateToResults ( long timeUsedPrevScreen ) : void
timeUsedPrevScreen long
return void

NavigateToSearching() public method

public NavigateToSearching ( long timeUsedPrevScreen ) : void
timeUsedPrevScreen long
return void

NavigateToSettings() public method

public NavigateToSettings ( long timeUsedPrevScreen ) : void
timeUsedPrevScreen long
return void

NavigateToSplash() public method

public NavigateToSplash ( ) : void
return void

Open() public method

public Open ( ) : void
return void

ScreenMainActionCancelSearch() public method

public ScreenMainActionCancelSearch ( ) : void
return void

ScreenMainActionSearch() public method

public ScreenMainActionSearch ( ) : void
return void

ScreenResultActionViewProfile() public method

public ScreenResultActionViewProfile ( ) : void
return void

ScreenResultsActionScroll() public method

public ScreenResultsActionScroll ( ) : void
return void

Searching() public method

public Searching ( int searching ) : void
searching int
return void

Upgrade() public method

public Upgrade ( string appVersion ) : void
appVersion string
return void