Protocol

WKExtendedRuntimeSessionDelegate

A set of optional methods for monitoring an extended runtime session.

Declaration

protocol WKExtendedRuntimeSessionDelegate

Overview

Implement these methods to track the changes to your session’s state.

Topics

Monitoring State Changes

func extendedRuntimeSessionDidStart(WKExtendedRuntimeSession)

Indicates that the session has started running.

Required.

func extendedRuntimeSessionWillExpire(WKExtendedRuntimeSession)

Indicates that the session is about to expire.

Required.

enum WKExtendedRuntimeSessionInvalidationReason

The reasons why a session can become invalid.

Relationships

Inherits From

See Also

Creating a Session

var delegate: WKExtendedRuntimeSessionDelegate?

A delegate object for monitoring the session and responding to state changes and errors.