Package org.robolectric.shadows.gms
Class ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- java.lang.Object
-
- org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
-
- Enclosing class:
- ShadowGooglePlayServicesUtil
public static class ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl extends Object
Class containing methods with same signatures of the static methods ofGooglePlayServicesUtil
.
-
-
Constructor Summary
Constructors Constructor Description GooglePlayServicesUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dialog
getErrorDialog(int errorCode, Activity activity, int requestCode)
Dialog
getErrorDialog(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)
PendingIntent
getErrorPendingIntent(int errorCode, Context context, int requestCode)
String
getOpenSourceSoftwareLicenseInfo(Context context)
Context
getRemoteContext(Context context)
Resources
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, android.support.v4.app.Fragment fragment, int requestCode, DialogInterface.OnCancelListener cancelListener)
void
showErrorNotification(int errorCode, Context context)
-
-
-
Method Detail
-
getErrorDialog
public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)
-
getErrorPendingIntent
public PendingIntent getErrorPendingIntent(int errorCode, Context context, int requestCode)
-
isGooglePlayServicesAvailable
public int isGooglePlayServicesAvailable(Context context)
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, android.support.v4.app.Fragment fragment, int requestCode, DialogInterface.OnCancelListener cancelListener)
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode)
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)
-
showErrorNotification
public void showErrorNotification(int errorCode, Context context)
-
-