Version: 2023.1
LanguageEnglish
  • C#

BackgroundModesOptions

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

"This enumeration type describes the various actions an app can take while it is running in the background on iOS. The values are flags, meaning they can be combined with the | operator.

Properties

NoneNo background modes are necessary.
AudioAirplayPiPThe app plays or records audio while in the background.
LocationUpdatesThe app keeps the user informed of their location.
VoiceOverIPThe app provides Voice over IP functionality.
NewsstandDownloadsThe app downloads Newsstand content.
ExternalAccessoryCommunicationThe app communicates with external hardware accessories.
UsesBluetoothLEAccessoryThe app works with Bluetooth accessories.
ActsAsABluetoothLEAccessoryThe app acts as a Bluetooth accessory.
BackgroundFetchThe app downloads small amounts of data regularly.
RemoteNotificationsThe app needs to download content when a push notification arrives without delay.