Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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

AppUpdateOptions.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

From class java.lang.Object

Public constructors

AppUpdateOptions.Builder

AppUpdateOptions.Builder ()

Public methods

build

AppUpdateOptions build ()

Builds AppUpdateOptions.

Returns
AppUpdateOptions

setAllowAssetPackDeletion

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

Returns
AppUpdateOptions.Builder

setAppUpdateType

AppUpdateOptions.Builder setAppUpdateType (int value)

Sets the type of the update flow.

Parameters
value int

Returns
AppUpdateOptions.Builder