activity.h

Overview

See the Overview section above for header-level documentation.

Overview

Included Headers

  • <xpc/base.h>

Topics

Miscellaneous

xpc_activity_copy_criteria

Returns an XPC dictionary describing the execution criteria of an activity. Returns NULL in cases where the activity has already completed, for example, when checking in to an event that finished and was not rescheduled.

xpc_activity_get_state

Returns the current state of an activity.

xpc_activity_register

Registers an activity with the system.

xpc_activity_set_criteria

Modifies the execution criteria of an activity.

xpc_activity_set_state

Updates the current state of an activity.

xpc_activity_should_defer

Test whether an activity should be deferred.

xpc_activity_unregister

Unregisters an activity found by its identifier.

XPC_DECL

An XPC activity object.

Callbacks

See the Overview section above for header-level documentation.

xpc_activity_handler_t

A block that is called when an XPC activity becomes eligible to run.

Constants

See the Overview section above for header-level documentation.