Enumeration

WKExtendedRuntimeSessionState

The activation states for an extended runtime session.

Declaration

typedef enum WKExtendedRuntimeSessionState : NSInteger {
    ...
} WKExtendedRuntimeSessionState;

Topics

Session States

WKExtendedRuntimeSessionStateNotStarted

The app has not yet started or scheduled the session.

WKExtendedRuntimeSessionStateScheduled

The app has scheduled the session to run at a future date.

WKExtendedRuntimeSessionStateRunning

The session is actively running.

WKExtendedRuntimeSessionStateInvalid

Either the session has encountered an error, or it has stopped running.

See Also

Managing the Session State

- start

Starts running the session.

- startAtDate:

Schedules a session to start running at a future date.

- invalidate

Stops the session.

state

The session’s current state.

expirationDate

The time and date when the session expires.