Contents

StatusServicesBackgroundTaskBackgroundTaskObject

A status report of a background task.

Declaration

object StatusServicesBackgroundTaskBackgroundTaskObject

Properties

NameTypeDescription
_removedboolean

If true, the background task is removed and the status item object only contains this key and the identifier key.

code-signaturestring

For types other than agent or daemon, this is the code signature designated requirement of the item, if available.

identifier Requiredstring

The background task UUID which the system uses as the primary key.

launchdStatusServicesBackgroundTaskBackgroundTask_LaunchdObject

Details about a launchd-based background task, which is only present when the type is daemon or agent.

path Requiredstring

For an agent or daemon, the path to the launchd plist file. For other types, the path to the app or the document.

state Requiredstring

The SMAppService.Status enumeration.

type Requiredstring

The daemon, agent, or SFL login item type.

uid Requiredinteger

The numeric user identifier of the owner of the background task.

Topics

Objects