ICGooglePlayServicesHelper

Helps manage the Google Play Services dependency via a listener that will be notified when Google Play Services are out of date or missing.

ICGooglePlayServicesHelper

Constructs a GooglePlayServicesHelper instance that may be used to intercept events from Google Play Services.

  Syntax: ICGooglePlayServicesHelper() .

Public Methods
voidaddListener
voidremoveListener

addListener


Adds a listener.

Note: The listener is held as a strong reference.

  Syntax: void addListener(ICGooglePlayServicesHelper.Listener listener).

Parameters

ParameterTypeDescription
listenerICGooglePlayServicesHelper.ListenerThe listener instance to be added that will be notified for future Google Play Services events.

removeListener


Removes a previously added listener.

  Syntax: void removeListener(ICGooglePlayServicesHelper.Listener listener).

Parameter

ParameterTypeDescription
listenerICGooglePlayServicesHelper.ListenerThe listener instance that should be removed.