C# Класс 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.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DefaultLaunchLimitForReminder int

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
RatePopup ( ) : System

Static constructor for initializing default values.

Описание методов

CheckRateReminderAsync() публичный статический Метод

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
Результат Task

GetAppVersion() публичный статический Метод

Get's the application version
public static GetAppVersion ( ) : string
Результат string

ResetLaunchCount() публичный статический Метод

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
Результат void

Описание свойств

DefaultLaunchLimitForReminder публичное статическое свойство

The default number of times the application needs to be launched before showing the reminder. The default value is 5.
public static int DefaultLaunchLimitForReminder
Результат int