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 |
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 | |
---|---|
![]()
java.lang.Object
|
Public constructors
AppUpdateOptions.Builder
AppUpdateOptions.Builder ()
Public methods
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 |
Interfaces
Classes