---
title: "handle(intent:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insharefocusstatusintenthandling/handle(intent:completion:)"
---

# handle(intent:completion:)

Handles the intent that shares the user’s focus status.

## Declaration

```swift
func handle(intent: INShareFocusStatusIntent, completion: @escaping @Sendable (INShareFocusStatusIntentResponse) -> Void)
```

```swift
func handle(intent: INShareFocusStatusIntent) async -> INShareFocusStatusIntentResponse
```

## Parameters

- `intent`: The doc://com.apple.sirikit/documentation/Intents/INShareFocusStatusIntent that contains details about the request.
- `completion`: The closure to execute with your response. Execute this handler in your implementation of this method. This handler has no return value and takes the following parameter:

## See Also

### Processing the Intent

- [confirm(intent:completion:)](intents/insharefocusstatusintenthandling/confirm(intent:completion:).md)
