DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
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) |