One Logo Pool Ball
BackgroundAssets · IOS API REFERENCE

BAAppExtensionInfo

class · iOS 16.1+ · SDK 27.1

class BAAppExtensionInfo

Members (2)

get · iOS 16.1+

restrictedDownloadSizeRemaining

TypeScript
get restrictedDownloadSizeRemaining(): (number) | null
Swift declaration
var restrictedDownloadSizeRemaining: Int? { get }

The number of bytes remaining that can be scheduled if the total download size is restricted. When a download is restricted, your extension can only schedule up to its `BADownloadAllowance` defined in your app's `Info.plist`. This result tells you the number of bytes remaining that can be scheduled before the application is launched. Once the application is launched, this restriction is removed. - Returns: The result is `null` if downloads are not restricted. It returns a valid number with the remaining available download size otherwise.

get · iOS 16.4+

restrictedEssentialDownloadSizeRemaining

TypeScript
get restrictedEssentialDownloadSizeRemaining(): (number) | null
Swift declaration
var restrictedEssentialDownloadSizeRemaining: Int? { get }

The number of bytes remaining that can be scheduled if the total download size is restricted. When a download is restricted, your extension can only schedule up to its `BAEssentialDownloadAllowance` defined in your app's `Info.plist`. This result tells you the number of bytes remaining that can be scheduled before the application is launched. Once the application is launched, this restriction is removed. - Returns: The result is `null` if downloads are not restricted. It returns a valid number with the remaining available download size otherwise.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

BAAppExtensionInfo.init()

inherited init: clang: 'init' is unavailable

All BackgroundAssets types →