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
messageThe AI conversation message content
-
Called when a ringing acknowledgment is received for AI assistant calls
Declaration
Swift
func onRingingAckReceived(callId: String)Parameters
callIdThe call ID that received the ringing acknowledgment
-
Called when AI assistant connection state changes
Declaration
Swift
func onAIAssistantConnectionStateChanged(isConnected: Bool, targetId: String?)Parameters
isConnectedWhether the AI assistant is connected
targetIdThe target ID of the AI assistant
-
Called when transcription is updated
Declaration
Swift
func onTranscriptionUpdated(_ transcriptions: [TranscriptionItem])Parameters
transcriptionsThe updated list of transcription items
-
Called when widget settings are updated
Declaration
Swift
func onWidgetSettingsUpdated(_ settings: WidgetSettings)Parameters
settingsThe updated widget settings