mergBgTaskExpired

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mergBgTaskExpired <pBackgroundTaskIdentifier>
Associationsmergbgtask
Summary

Sent to the object that called mergBgTaskStart when the background task expires

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pBackgroundTaskIdentifier

An id used to identify the task.

Description

Background tasks last approximately 10 minutes. When you get this message (if your app is in the background) you have under 5 seconds to do any cleanup you require and call mergBgTaskStop otherwise iOS will kill your app instead of suspending it. As soon as you call mergBgTaskStop if your app is in the background it will be suspended unless there are other background tasks that have some time left.

Tagsexternals