public class AmazonAppstoreRatingProvider extends java.lang.Object implements IRatingProvider
| Constructor and Description |
|---|
AmazonAppstoreRatingProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
activityNotFoundMessage(android.content.Context context)
Called if the startRating process does not successfully finish launching an activityContext.
|
void |
startRating(android.content.Context context,
java.util.Map<java.lang.String,java.lang.String> args)
Starts the rating process.
|
public void startRating(android.content.Context context,
java.util.Map<java.lang.String,java.lang.String> args)
throws InsufficientRatingArgumentsException
IRatingProviderstartRating in interface IRatingProvidercontext - An Android Context used to launch the rating
or provide dialogs or notifications.args - A list of keys and values which may have been
provided at app initialization to allow the ratings provider
access to additional information. The hash will, at a minimum,
contain the 'name' of the app as passed to apptentive and the
'package' identifier of the app.InsufficientRatingArgumentsException - Thrown when the implementation needs an argument that isn't provided.public java.lang.String activityNotFoundMessage(android.content.Context context)
IRatingProvideractivityNotFoundMessage in interface IRatingProvidercontext - The current Activity Context