Class ShadowGoogleApiAvailability
java.lang.Object
org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
@Deprecated
@Implements(com.google.android.gms.common.GoogleApiAvailability.class)
public class ShadowGoogleApiAvailability
extends Object
Deprecated.
This package is no longer maintained and will be removed in Robolectric 4.16.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetErrorDialog
(Activity activity, int errorCode, int requestCode) Deprecated.getErrorDialog
(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener) Deprecated.static com.google.android.gms.common.GoogleApiAvailability
Deprecated.getOpenSourceSoftwareLicenseInfo
(Context context) Deprecated.int
isGooglePlayServicesAvailable
(Context context) Deprecated.final boolean
isUserResolvableError
(int errorCode) Deprecated.void
setErrorDialog
(Dialog errorDialog) Deprecated.void
setIsGooglePlayServicesAvailable
(int availabilityCode) Deprecated.void
setIsUserResolvableError
(boolean isUserResolvableError) Deprecated.
-
Constructor Details
-
ShadowGoogleApiAvailability
public ShadowGoogleApiAvailability()Deprecated.
-
-
Method Details
-
getInstance
Deprecated. -
isGooglePlayServicesAvailable
Deprecated. -
setIsGooglePlayServicesAvailable
public void setIsGooglePlayServicesAvailable(int availabilityCode) Deprecated. -
isUserResolvableError
Deprecated. -
setIsUserResolvableError
public void setIsUserResolvableError(boolean isUserResolvableError) Deprecated. -
getOpenSourceSoftwareLicenseInfo
Deprecated. -
getErrorDialog
Deprecated. -
getErrorDialog
@Implementation public Dialog getErrorDialog(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener) Deprecated. -
setErrorDialog
Deprecated.
-