import { AudioAppKit } from '@bragiai/audio-app-kit'; // Usage: AudioAppKit.chatAgent.toggleState(state);
AudioAppKit.chatAgent.toggleState(agentShared.StatePayload_State.ON);
AudioAppKit.chatAgent.toggleMute(agentShared.StatePayload_State.ON);
AudioAppKit.chatAgent.send('What is superconductivity?');
AudioAppKit.chatAgent.send({ prompt: 'What is superconductivity?', uuid: 'd61ff9f3-c41b-4967-9963-1791599db445' });
AudioAppKit.chatAgent.languageUpdate('en'); // English
AudioAppKit.chatAgent.enableVoiceControl();
AudioAppKit.chatAgent.clearChatHistory();
AudioAppKit.chatAgent.shortcutButtonTapped();
AudioAppKit.chatAgent.completeSession({ silent: false, // If true, the session will complete silently without triggering UI or sound feedback. unsubscribe: false, // If true, the session will be terminated after the response is generated. });
AudioAppKit.chatAgent.paywallButtonTapped(); // Paywall button tapped
AudioAppKit.chatAgent.notificationBadgeState(type, isActive); // Notification badge state
AudioAppKit.chatAgent.shareText("Superconductivity is a phenomenon where ...");
AudioAppKit.chatAgent.bannerTapped();
AudioAppKit.chatAgent.inputModeChanged(agentAction.InputTypePayload_Type.TEXT);
AudioAppKit.chatAgent.openAppSettings();
AudioAppKit.chatAgent.downloadLanguageModel('de'); // language code
AudioAppKit.chatAgent.cancelDownloadLanguageModel();
AudioAppKit.chatAgent.deleteLanguageModel('de'); // language code