C# Class MediaAppSample.Core.Services.RatingsManager

Used to determine when and if a user should be prompted to rate the application being executed.
Inheritance: ServiceBase
Mostrar archivo Open project: Microsoft/TVHelpers

Private Properties

Property Type Description
PromptForRatingAsync System.Threading.Tasks.Task
RatingsManager MediaAppSample.Core.ViewModels

Public Methods

Method Description
CheckForRatingsPromptAsync ( ViewModelBase vm ) : System.Threading.Tasks.Task

Executes business logic to determine if an instance of the application should prompt the user to solicit user ratings. If it determines it should, the dialog to solicit ratings will be displayed.

Private Methods

Method Description
PromptForRatingAsync ( ViewModelBase vm ) : System.Threading.Tasks.Task

Displays a dialog to the user requesting the user to provide ratings/feedback for this application.

RatingsManager ( ) : MediaAppSample.Core.ViewModels

Method Details

CheckForRatingsPromptAsync() public method

Executes business logic to determine if an instance of the application should prompt the user to solicit user ratings. If it determines it should, the dialog to solicit ratings will be displayed.
public CheckForRatingsPromptAsync ( ViewModelBase vm ) : System.Threading.Tasks.Task
vm ViewModelBase
return System.Threading.Tasks.Task