Instance Property


The session’s current state.


var state: WKExtendedRuntimeSessionState { get }


For a list of session states, see WKExtendedRuntimeSessionState.

See Also

Managing the Session State

func start()

Starts running the session.

func start(at: Date)

Schedules a session to start running at a future date.

func invalidate()

Stops the session.

enum WKExtendedRuntimeSessionState

The activation states for an extended runtime session.

var expirationDate: Date?

The time and date when the session expires.