---
title: delegate
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkextendedruntimesession/delegate
---

# delegate

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

## Declaration

```swift
weak var delegate: (any WKExtendedRuntimeSessionDelegate)? { get set }
```

## Discussion

Discussion To receive all the delegate calls, always assign a value to this property before calling the session’s start() or start(at:) methods.

## See Also

### Creating a Session

- [WKExtendedRuntimeSessionDelegate](watchkit/wkextendedruntimesessiondelegate.md)
