@Implements(value=com.google.android.gms.common.GoogleApiAvailability.class) public class ShadowGoogleApiAvailability extends java.lang.Object
Constructor and Description |
---|
ShadowGoogleApiAvailability() |
Modifier and Type | Method and Description |
---|---|
android.app.Dialog |
getErrorDialog(android.app.Activity activity,
int errorCode,
int requestCode) |
android.app.Dialog |
getErrorDialog(android.app.Activity activity,
int errorCode,
int requestCode,
android.content.DialogInterface.OnCancelListener cancelListener) |
static com.google.android.gms.common.GoogleApiAvailability |
getInstance() |
java.lang.String |
getOpenSourceSoftwareLicenseInfo(android.content.Context context) |
int |
isGooglePlayServicesAvailable(android.content.Context context) |
boolean |
isUserResolvableError(int errorCode) |
void |
setErrorDialog(android.app.Dialog errorDialog) |
void |
setIsGooglePlayServicesAvailable(int availabilityCode) |
void |
setIsUserResolvableError(boolean isUserResolvableError) |
void |
setOpenSourceSoftwareLicenseInfo(java.lang.String openSourceSoftwareLicenseInfo) |
@Implementation public static com.google.android.gms.common.GoogleApiAvailability getInstance()
@Implementation public int isGooglePlayServicesAvailable(android.content.Context context)
public void setIsGooglePlayServicesAvailable(int availabilityCode)
@Implementation public final boolean isUserResolvableError(int errorCode)
public void setIsUserResolvableError(boolean isUserResolvableError)
@Implementation public java.lang.String getOpenSourceSoftwareLicenseInfo(android.content.Context context)
public void setOpenSourceSoftwareLicenseInfo(java.lang.String openSourceSoftwareLicenseInfo)
@Implementation public android.app.Dialog getErrorDialog(android.app.Activity activity, int errorCode, int requestCode)
@Implementation public android.app.Dialog getErrorDialog(android.app.Activity activity, int errorCode, int requestCode, android.content.DialogInterface.OnCancelListener cancelListener)
public void setErrorDialog(android.app.Dialog errorDialog)