AppUpdateOptions.Builder

public static abstract class AppUpdateOptions.Builder
extends Object

java.lang.Object
   ↳ com.google.android.play.core.appupdate.AppUpdateOptions.Builder


Builder for AppUpdateOptions.

Summary

Public constructors

Builder()

Public methods

abstract AppUpdateOptions build()

Builds AppUpdateOptions.

abstract AppUpdateOptions.Builder setAllowAssetPackDeletion(boolean value)

Allows the update flow to clear some Asset Packs from the app's storage before attempting to update the app, in case of insufficient storage.

abstract AppUpdateOptions.Builder setAppUpdateType(int value)

Sets the type of the update flow.

Inherited methods

boolean equals(Object arg0)
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Public constructors

Builder

public Builder ()

Public methods

build

public abstract AppUpdateOptions build ()

Builds AppUpdateOptions.

setAllowAssetPackDeletion

public abstract AppUpdateOptions.Builder setAllowAssetPackDeletion (boolean value)

Allows the update flow to clear some Asset Packs from the app's storage before attempting to update the app, in case of insufficient storage.

For more information on Asset Packs, read Dynamic Asset Delivery.

Parameters
value boolean

setAppUpdateType

public abstract AppUpdateOptions.Builder setAppUpdateType (int value)

Sets the type of the update flow.

Parameters
value int