AppReviewService Data Types

AppReviewService defines and uses several data types.

An object representing configuration details for an AppReviewService session.

Property NameTypeDescription
ignoreIfAlreadyRequestedForCurrentAppVersionBooleanIgnore the app review request if already asked for the current version of the app. Use null value if you're not passing in an option.

An object representing an error that occurred when accessing AppReviewService features.

Property NameTypeDescription
codeAppReviewServiceFailureCodeA value representing the reason for an app review error. Possible failure codes include the following:
  • SERVICE_NOT_ENABLED
  • IN_APP_REVIEW_ERROR
  • ALREADY_REQUESTED_FOR_CURRENT_APP_VERSION
  • UNKNOWN_REASON
messageStringA string value describing the reason for the failure. This value is suitable for use in user interface messages. The message is provided in English and isn’t localized.