Data structures and models for the Agentforce Android SDK.
Data Model Classes
- AgentforceMessage - Message structure and handling
- AgentforceAttachment - File attachment support
Message Types
Text Messages
- Content: Message text content and formatting
- Metadata: Timestamps, sender information, and message state
- Formatting: Rich text support and markdown rendering
Attachment Messages
- File Types: Support for images, documents, and media files
- Upload: File upload and processing
- Display: Attachment rendering in UI components
Data Flow
Message Creation
- User Input: Capture user input through UI components
- Message Construction: Create AgentforceMessage objects
- Validation: Validate message content and attachments
- Transmission: Send messages through the SDK
Message Processing
- Reception: Receive messages from the agent
- Parsing: Parse message content and attachments
- Rendering: Display messages in UI components
- State Management: Update conversation state
Next Steps
- UI Components: See Android UI Components for message display
- Configuration: See Configuration Overview for setup
- Integration: See Android Development for architecture patterns