com.google.android.gms.security.ProviderInstaller.ProviderInstallListener |
Callback for notification of the result of provider installation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when installing the provider fails.
| |||||||||||
Called when installing the provider succeeds.
|
Called when installing the provider fails. This method is always called on the UI thread.
Implementers may use errorCode
with the standard UI elements provided by
GooglePlayServicesUtil
; or recoveryIntent
to implement custom UI.
errorCode | error code for the failure, for use with
showErrorDialogFragment(int, Activity, Fragment, int, DialogInterface.OnCancelListener) or
showErrorNotification(int, Context) |
---|---|
recoveryIntent | if non-null, an intent that can be used to install or update Google Play Services such that the provider can be installed |
Called when installing the provider succeeds. This method is always called on the UI thread.