Class ShadowGoogleApiAvailability


  • @Implements(com.google.android.gms.common.GoogleApiAvailability.class)
    public class ShadowGoogleApiAvailability
    extends Object
    • Constructor Detail

      • ShadowGoogleApiAvailability

        public ShadowGoogleApiAvailability()
    • Method Detail

      • getInstance

        @Implementation
        public static com.google.android.gms.common.GoogleApiAvailability getInstance()
      • isGooglePlayServicesAvailable

        @Implementation
        public int isGooglePlayServicesAvailable​(Context context)
      • setIsGooglePlayServicesAvailable

        public void setIsGooglePlayServicesAvailable​(int availabilityCode)
      • isUserResolvableError

        @Implementation
        public final boolean isUserResolvableError​(int errorCode)
      • setIsUserResolvableError

        public void setIsUserResolvableError​(boolean isUserResolvableError)
      • setOpenSourceSoftwareLicenseInfo

        public void setOpenSourceSoftwareLicenseInfo​(String openSourceSoftwareLicenseInfo)
      • setErrorDialog

        public void setErrorDialog​(Dialog errorDialog)