---
schema_version: "1"
id: c570e8877ae8107571010bc96d404d28d3398e385139d2214190925309ea1d9b
title: EscalationStatusView
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/ios/escalation-status-view-ios.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/escalation-status-view-ios.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 18e1d44f8231899ab3b340dc787e125d345d9381a55f5b8db70fb4ed2777b214
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# EscalationStatusView

## Overview

A SwiftUI view for displaying escalation status and queue information. Provides visual feedback about the current state of human agent escalation, including queue position, wait times, and agent assignment status.

## Declaration

```swift
@MainActor struct EscalationStatusView
```

## Properties

| Property | Type        | Description                                 |
| -------- | ----------- | ------------------------------------------- |
| `body`   | `some View` | The main view content (inherited from View) |

## Methods

| Method                                                  | Signature                                                                                                                                          | Description                                                                                                                                      |
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `init(escalation:showQueueDetails:isCompact:onAction:)` | `init(escalation: EscalationStatusMessage, showQueueDetails: Bool = true, isCompact: Bool = false, onAction: ((EscalationAction) -> Void)? = nil)` | Creates an escalation status view with the specified configuration                                                                               |
| _Inherited from View_                                   | _All View protocol methods_                                                                                                                        | Inherits all standard SwiftUI View methods and modifiers. See [View (_Apple Developer_)](https://developer.apple.com/documentation/swiftui/view) |

## Usage Examples

### Basic Escalation Status

```swift
EscalationStatusView(
    escalation: escalationMessage,
    showQueueDetails: true
)
```

### Compact Status Indicator

```swift
EscalationStatusView(
    escalation: escalationMessage,
    showQueueDetails: false,
    isCompact: true
)
```
