---
schema_version: "1"
id: 8d8072138b4c007c06374f06a08a88eb6d5f7c3d7f58064bd367f4e5e69ef7e2
title: AgentforceVoiceView
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/ios/agentforce-voice-view-ios.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-voice-view-ios.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8d0fc4b655aeb073e052b7a53e0fd31bbbf66468a925e201f1bfa38cc61db8fd
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# AgentforceVoiceView

## Overview

A SwiftUI view that provides the user interface for voice interaction with Agentforce. Displays connection status, animated visual feedback, and control buttons for real-time voice conversations with AI agents.

## Declaration

```swift
@MainActor struct AgentforceVoiceView
```

## Properties

| Property | Type        | Description                                 |
| -------- | ----------- | ------------------------------------------- |
| `body`   | `some View` | The main view content (inherited from View) |

## Methods

| Method                | Signature                   | Description                                                                                                                                      |
| --------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| _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) |
