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 Type
    Method
    Description
    void
    Checks for an update and answers on any thread.
    boolean
    startUpdate(boolean immediate)
    Starts the update flow.
  • Method Details

    • check

      void check(SuccessCallback<AppUpdates.UpdateInfo> callback)

      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