Skip to main content

mergBgTaskStop

Type​

command

Summary​

Stop a background task

Syntax​

mergBgTaskStop <pBackgroundTaskIdentifier>

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.

Parameters​

NameTypeDescription

pBackgroundTaskIdentifier

A name used to identify the task as set in mergBgTaskStart

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?