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 of
GooglePlayServicesUtil
.-
Constructor Summary
Constructors Constructor Description GooglePlayServicesUtilImpl()
-
Method Summary
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)
-
Constructor Details
-
GooglePlayServicesUtilImpl
public GooglePlayServicesUtilImpl()
-
-
Method Details
-
getErrorDialog
-
getErrorDialog
public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) -
getErrorPendingIntent
-
getOpenSourceSoftwareLicenseInfo
-
getRemoteContext
-
getRemoteResource
-
isGooglePlayServicesAvailable
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, android.support.v4.app.Fragment fragment, int requestCode, DialogInterface.OnCancelListener cancelListener) -
showErrorDialogFragment
-
showErrorDialogFragment
public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener) -
showErrorNotification
-