Google.Play.AppUpdate.AppUpdateOptions

Options used to configure an in-app update, including AppUpdateType.

Summary

Properties

AllowAssetPackDeletion
bool
Returns whether the app installer should be allowed to delete some asset packs from the app's internal storage before attempting to update the app, for example if disk space is limited.
AppUpdateType
Returns the type of in-app update flow.

Public static functions

FlexibleAppUpdateOptions(bool allowAssetPackDeletion)
Creates an AppUpdateOptions configured for the Flexible AppUpdateType.
ImmediateAppUpdateOptions(bool allowAssetPackDeletion)
Creates an AppUpdateOptions configured for the Immediate AppUpdateType.

Properties

AllowAssetPackDeletion

bool AllowAssetPackDeletion

Returns whether the app installer should be allowed to delete some asset packs from the app's internal storage before attempting to update the app, for example if disk space is limited.

AppUpdateType

AppUpdateType AppUpdateType

Returns the type of in-app update flow.

Public static functions

FlexibleAppUpdateOptions

AppUpdateOptions FlexibleAppUpdateOptions(
  bool allowAssetPackDeletion
)

Creates an AppUpdateOptions configured for the Flexible AppUpdateType.

Details
Parameters
allowAssetPackDeletion
Specifies whether the app installer should be allowed to delete some asset packs from the app's internal storage, in case of insufficient device storage. Defaults to false.

ImmediateAppUpdateOptions

AppUpdateOptions ImmediateAppUpdateOptions(
  bool allowAssetPackDeletion
)

Creates an AppUpdateOptions configured for the Immediate AppUpdateType.

Details
Parameters
allowAssetPackDeletion
Specifies whether the app installer should be allowed to delete some asset packs from the app's internal storage, in case of insufficient device storage. Defaults to false.