Skip to main content
Actions are events that are dispatched to the native app.

Using Actions

import { AudioAppKit } from '@bragiai/audio-app-kit';
// Usage: AudioAppKit.chatAgent.toggleState(state);

List of Actions

App Did Load

This action should be invoked when the Web app has loaded all assets and is ready to receive events from the native app.
AudioAppKit.webUI.addDidLoad();

Close App

This action should be invoked when the native app should close the web view.
AudioAppKit.webUI.closeApp();
I