Agentforce Mobile SDK Reference Overview
Technical reference for the Agentforce Mobile SDK APIs and components across iOS and Android platforms.
Platform | UI Framework | Min Version | Distribution |
---|---|---|---|
iOS | SwiftUI | iOS 17+ | CocoaPods |
Android | Jetpack Compose | API 29+ | AAR |
The Agentforce Mobile SDK includes the following core components across both platforms:
Class | iOS | Android | Description |
---|---|---|---|
AgentforceClient | ✅ | ✅ | SDK entry point and orchestrator |
AgentforceConversation | ✅ | ✅ | Conversation session management |
Component | Description |
---|---|
AgentforceChatView | Full conversational interface |
AgentforceCard | Compact conversation summary |
AgentforceLauncher | Floating launcher interface |
ConversationUIContainer | Container view for embedding conversation UI |
Component | Description |
---|---|
AgentforceComponent | Base UI component system |
ChatResponseButton | Interactive response elements |
RecordSelector | Salesforce record selection |
Protocol | Description |
---|---|
AgentConversation | Core conversation interface |
AgentforceDataProviding | Data access abstraction |
Service | Description |
---|---|
AgentforceAPI | Network service layer |
AgentforceService | Backend integration interface |
BotsAPI | Conversation API client |
Enumeration | iOS | Android | Description |
---|---|---|---|
AgentforceConversationState | ✅ | ✅ | Conversation lifecycle states |
AgentforceAccessMode | ✅ | ✅ | Permission and context modes |
Component | iOS | Android | Description |
---|---|---|---|
AgentforceSDKError | ✅ | ✅ | SDK error taxonomy |
AgentforceDataProviderErrors | ✅ | ❌ | Data provider errors (iOS only) |
- Agentforce Mobile SDK Developer Guide - Implementation guides and patterns
- iOS Integration Guidelines - iOS platform setup
- Android Integration Guidelines - Android platform setup