Package org.robolectric.shadows.gms
Class ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
java.lang.Object
org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- Enclosing class:
- ShadowGooglePlayServicesUtil
Class containing methods with same signatures of the static methods of
GooglePlayServicesUtil
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorDialog
(int errorCode, Activity activity, int requestCode) getErrorDialog
(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) getErrorPendingIntent
(int errorCode, Context context, int requestCode) getRemoteContext
(Context context) getRemoteResource
(Context context) int
isGooglePlayServicesAvailable
(Context context) boolean
showErrorDialogFragment
(int errorCode, Activity activity, int requestCode) boolean
showErrorDialogFragment
(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) boolean
showErrorDialogFragment
(int errorCode, Activity activity, androidx.fragment.app.Fragment fragment, int requestCode, DialogInterface.OnCancelListener cancelListener) void
showErrorNotification
(int errorCode, Context context)
-
Constructor Details
-
GooglePlayServicesUtilImpl
public GooglePlayServicesUtilImpl()
-
-
Method Details
-
getErrorDialog
-
getErrorDialog
public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) -
getErrorPendingIntent
-
getRemoteContext
-
getRemoteResource
-
isGooglePlayServicesAvailable
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, androidx.fragment.app.Fragment fragment, int requestCode, DialogInterface.OnCancelListener cancelListener) -
showErrorDialogFragment
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) -
showErrorNotification
-