AIAssistantManagerDelegate

public protocol AIAssistantManagerDelegate : AnyObject

Protocol for AI Assistant Manager delegate to handle AI-related events

  • Called when an AI conversation message is received

    Declaration

    Swift

    func onAIConversationMessage(_ message: [String : Any])

    Parameters

    message

    The AI conversation message content

  • Called when a ringing acknowledgment is received for AI assistant calls

    Declaration

    Swift

    func onRingingAckReceived(callId: String)

    Parameters

    callId

    The call ID that received the ringing acknowledgment

  • Called when AI assistant connection state changes

    Declaration

    Swift

    func onAIAssistantConnectionStateChanged(isConnected: Bool, targetId: String?)

    Parameters

    isConnected

    Whether the AI assistant is connected

    targetId

    The target ID of the AI assistant

  • Called when transcription is updated

    Declaration

    Swift

    func onTranscriptionUpdated(_ transcriptions: [TranscriptionItem])

    Parameters

    transcriptions

    The updated list of transcription items

  • Called when widget settings are updated

    Declaration

    Swift

    func onWidgetSettingsUpdated(_ settings: WidgetSettings)

    Parameters

    settings

    The updated widget settings