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.streaming.saveShortcut();

List of Actions

Select Category

Select category:
AudioAppKit.streaming.selectCategory('categoryId');

Save Shortcut

Save the current shortcut configuration:
AudioAppKit.streaming.saveShortcut({
  playlistId: '81755f03-9a82-47f6-be0c-d7fa986e4352',
  isTransparencyEnabled: false,
  isAncEnabled: true,
  isShuffleEnabled: true,
  isRepeatEnabled: true,
  equalizerType: 'flat'
});

Logout

Logout the current user:
AudioAppKit.streaming.logout();
I