ACTIVITY_COORDINATOR_NOTIFICATION enumeration (activitycoordinatortypes.h)

An enumeration of the possible notification types for the subscription callback.

Syntax

typedef enum _ACTIVITY_COORDINATOR_NOTIFICATION {
  ACTIVITY_COORDINATOR_NOTIFICATION_RUN,
  ACTIVITY_COORDINATOR_NOTIFICATION_STOP
} ACTIVITY_COORDINATOR_NOTIFICATION;

Constants

 
ACTIVITY_COORDINATOR_NOTIFICATION_RUN
Indicates that the conditions of the policy are met, and the associated activity can be started or resumed now.
ACTIVITY_COORDINATOR_NOTIFICATION_STOP
Indicates that the conditions of the policy are not met, and the associated activity should be stopped or paused now.

Requirements

Requirement Value
Header activitycoordinatortypes.h

See also

ACTIVITY_COORDINATOR_CALLBACK

SubscribeActivityCoordinatorPolicy