AgentforceLauncher

struct AgentforceLauncher

A SwiftUI view that provides a floating launcher interface for accessing the Agentforce conversation UI.

The AgentforceLauncher serves as the primary entry point for users to interact with the Agentforce AI assistant. It displays as a persistent, floating interface element that shows conversation status and provides multiple ways to initiate or continue conversations.

PropertyTypeDescription
bodysome ViewThe launcher's UI implementation
openTranscribing(() -> Void)?Callback to open the conversation with voice input active
openWithKeyboardClosed(((() -> Void)?) -> Void)?Callback to open the conversation without keyboard, optionally running completion
openWithKeyboardOpen(() -> Void)?Callback to open the conversation with keyboard input ready