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

- extendedRuntimeSessionDidStart:

Indicates that the session has started running.

Required.

- extendedRuntimeSessionWillExpire:

Indicates that the session is about to expire.

Required.

- extendedRuntimeSession:didInvalidateWithReason:error:

Indicates that the session has encountered an error or stopped running.

Required.

WKExtendedRuntimeSessionInvalidationReason

The reasons why a session can become invalid.

Relationships

Inherits From

See Also

Creating a Session

+ session

Instantiates a new session object.

delegate

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