C# Class UniversalRateReminder.RatePopup

A static class for showing a pop up for rating the app after the app has been launched a specific number of times.
Mostrar archivo Open project: r2d2rigo/UniversalRateReminder

Public Properties

Property Type Description
DefaultLaunchLimitForReminder int

Public Methods

Method Description
CheckRateReminderAsync ( ) : Task

Increments the launch counter and if it is equal or less than the current value of RatePopup.LaunchLimit, shows the rating pop up. A flag will be set so the dialog only shows once.

GetAppVersion ( ) : string

Get's the application version

ResetLaunchCount ( ) : void

Resets the stored launch count to zero, and resets the flag that prevents the pop up from showing more than once.

Private Methods

Method Description
RatePopup ( ) : System

Static constructor for initializing default values.

Method Details

CheckRateReminderAsync() public static method

Increments the launch counter and if it is equal or less than the current value of RatePopup.LaunchLimit, shows the rating pop up. A flag will be set so the dialog only shows once.
public static CheckRateReminderAsync ( ) : Task
return Task

GetAppVersion() public static method

Get's the application version
public static GetAppVersion ( ) : string
return string

ResetLaunchCount() public static method

Resets the stored launch count to zero, and resets the flag that prevents the pop up from showing more than once.
public static ResetLaunchCount ( ) : void
return void

Property Details

DefaultLaunchLimitForReminder public_oe static_oe property

The default number of times the application needs to be launched before showing the reminder. The default value is 5.
public static int DefaultLaunchLimitForReminder
return int