AgentforceFeatureFlagSettings

Overview

Configuration structure controlling feature availability and experimental functionality within the Agentforce SDK. Provides fine-grained control over SDK capabilities, enabling progressive feature rollout, A/B testing scenarios, and organization-specific customizations.

Declaration

struct AgentforceFeatureFlagSettings

Properties

Property Type Description
enableMultiModalInput Bool Enables rich media input capabilities, including image uploads. Doesn't enable other document types.
enablePDFFileUpload Bool Enables specific support for PDF document uploads and processing.
multiAgent Bool Enables multi-agent conversation capabilities including agent discovery, switching, and comparison.
shouldBlockMicrophone Bool Controls microphone access for voice input features.
enableVoice Bool Enables voice input capabilities for conversations.
enableOnboarding Bool Enables onboarding opt-in UI.

Methods

Method Signature Description
init init(enableMultiModalInput:enablePDFFileUpload:multiAgent:shouldBlockMicrophone:enableVoice:enableOnboarding:internalFlags:) Creates a feature flag configuration with specified public feature enablement and optional internal flags.
subscript subscript(_:) -> Bool Access internal feature flag values via string key. This provides public access for demo apps and external usage.

Configuration Patterns

let settings = AgentforceFeatureFlagSettings(
    enableMultiModalInput: false,
    enablePDFFileUpload: false,
    multiAgent: false
)
let settings = AgentforceFeatureFlagSettings(
    enableMultiModalInput: true,
    enablePDFFileUpload: true,
    multiAgent: true,
    enableVoice: true
)