Interface AppUpdates.Provider
- Enclosing class:
AppUpdates
public static interface AppUpdates.Provider
A platform update service. The Android build registers the Google Play
one; applications do not normally implement this.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(SuccessCallback<AppUpdates.UpdateInfo> callback) Checks for an update and answers on any thread.booleanstartUpdate(boolean immediate) Starts the update flow.
-
Method Details
-
check
Checks for an update and answers on any thread.
Parameters
callback: receives the result
-
startUpdate
boolean startUpdate(boolean immediate) Starts the update flow.
Parameters
immediate: true for a blocking update, false to download in the background
Returns
true when the flow started
-