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 | |
---|---|
void | addListener |
void | removeListener |
addListener
Adds a listener.
Note: The listener is held as a strong reference.
Syntax: void addListener(ICGooglePlayServicesHelper.Listener listener)
.
Parameters
Parameter | Type | Description |
---|---|---|
listener | ICGooglePlayServicesHelper.Listener | The 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
Parameter | Type | Description |
---|---|---|
listener | ICGooglePlayServicesHelper.Listener | The listener instance that should be removed. |
Updated 11 months ago