# ReviewManager

Summary:[Methods](https://developer.android.com/reference/com/google/android/play/core/review/ReviewManager#pubmethods)  

# ReviewManager

`
public


interface
ReviewManager
`  
`


`

|---------------------------------------------------|
| com.google.android.play.core.review.ReviewManager |

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [FakeReviewManager](https://developer.android.com/reference/com/google/android/play/core/review/testing/FakeReviewManager.html) |---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------| | [FakeReviewManager](https://developer.android.com/reference/com/google/android/play/core/review/testing/FakeReviewManager.html) | A fake implementation of the[ReviewManager](https://developer.android.com/reference/com/google/android/play/core/review/ReviewManager.html). | |

<br />

*** ** * ** ***

Manages operations for requesting and launching the review flow.

## Summary

|                                                                                                                                                                                                                                                                                                                                                ### Public methods                                                                                                                                                                                                                                                                                                                                                ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[Task](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html)`<`[Void](https://developer.android.com/reference/java/lang/Void.html)`>`                                       | ` `[launchReviewFlow](https://developer.android.com/reference/com/google/android/play/core/review/ReviewManager.html#launchReviewFlow(android.app.Activity,%20com.google.android.play.core.review.ReviewInfo))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` activity, `[ReviewInfo](https://developer.android.com/reference/com/google/android/play/core/review/ReviewInfo.html)` reviewInfo) ` Launches and displays the review flow to the user. |
| ` abstract `[Task](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html)`<`[ReviewInfo](https://developer.android.com/reference/com/google/android/play/core/review/ReviewInfo.html)`>` | ` `[requestReviewFlow](https://developer.android.com/reference/com/google/android/play/core/review/ReviewManager.html#requestReviewFlow())`() ` Retrieves all the needed information to launch the review flow.                                                                                                                                                                                                                                                                        |

## Public methods

### launchReviewFlow

```
public abstract Task<Void> launchReviewFlow (Activity activity, 
                ReviewInfo reviewInfo)
```

Launches and displays the review flow to the user.

Note: In some circumstances the review flow will not be shown to the user, e.g. they have already seen it recently, so do not assume that calling this method will always display the review dialog.

App should resume when the returned task is completed.

<br />

|            Parameters             ||
|--------------|---------------------|
| `activity`   | `Activity` <br />   |
| `reviewInfo` | `ReviewInfo` <br /> |

|                                                                                    Returns                                                                                     ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [Task](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html)`<`[Void](https://developer.android.com/reference/java/lang/Void.html)`>` | <br /> |

### requestReviewFlow

```
public abstract Task<ReviewInfo> requestReviewFlow ()
```

Retrieves all the needed information to launch the review flow.

Needs to be called before[launchReviewFlow(Activity, ReviewInfo)](https://developer.android.com/reference/com/google/android/play/core/review/ReviewManager.html#launchReviewFlow(android.app.Activity,%20com.google.android.play.core.review.ReviewInfo))to obtain an[ReviewInfo](https://developer.android.com/reference/com/google/android/play/core/review/ReviewInfo.html)object which is used to launch the review flow.

<br />

|                                                                                                       Returns                                                                                                        ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [Task](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html)`<`[ReviewInfo](https://developer.android.com/reference/com/google/android/play/core/review/ReviewInfo.html)`>` | <br /> |