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

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.

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