Summary: Nested Classes | Constants | Ctors | Methods | Inherited Methods | [Expand All]
public class

# ProviderInstaller

extends Object

java.lang.Object
↳ | com.google.android.gms.security.ProviderInstaller

## Class Overview

A utility class for installing a dynamically updatable `Provider` to replace the platform default provider.

## Summary

Nested Classes
interface | ProviderInstaller.ProviderInstallListener | Callback for notification of the result of provider installation.

Constants
String | PROVIDER_NAME |

Public Constructors
| ProviderInstaller()

Public Methods
static void | installIfNeeded(Context context) Installs the dynamically updatable security provider, if it's not already installed.
static void | installIfNeededAsync(Context context, ProviderInstaller.ProviderInstallListener listener) Asynchronously installs the dynamically updatable security provider, if it's not already installed.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Constants

#### public static final String PROVIDER_NAME

Constant Value: "GmsCore_OpenSSL"

## Public Constructors

#### public ProviderInstaller ()

## Public Methods

#### public static void installIfNeeded (Context context)

Installs the dynamically updatable security provider, if it's not already installed.

##### Throws

GooglePlayServicesRepairableException |
GooglePlayServicesNotAvailableException |

#### public static void installIfNeededAsync (Context context, ProviderInstaller.ProviderInstallListener listener)

Asynchronously installs the dynamically updatable security provider, if it's not already installed. This method must be called on the UI thread.

##### Parameters

listener | called when the installation completes