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.
Afficher le fichier Open project: r2d2rigo/UniversalRateReminder

Méthodes publiques

Свойство Type Description
DefaultLaunchLimitForReminder int

Méthodes publiques

Méthode 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

Méthode Description
RatePopup ( ) : System

Static constructor for initializing default values.

Method Details

CheckRateReminderAsync() public static méthode

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
Résultat Task

GetAppVersion() public static méthode

Get's the application version
public static GetAppVersion ( ) : string
Résultat string

ResetLaunchCount() public static méthode

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
Résultat 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
Résultat int