mergBgTaskStop

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergBgTaskStop <pBackgroundTaskIdentifier>
Associationsmergbgtask
Summary

Stop a background task

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pBackgroundTaskIdentifier

A name used to identify the task as set in mergBgTaskStart

Description

Call this if your code has finished executing before your app recieved the mergBgTaskExpired message and your app will go into suspend. You can use this to manage multiple background tasks. 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