AudioMenu

class AudioMenu(service: SoundscapeService, application: Context)

AudioMenu provides a hierarchical, navigable audio menu controlled by media buttons.

  • NEXT : advance to next item at the current level (wraps at end)

  • PREVIOUS: go back one item (wraps at end)

  • SELECT : enter a sub-menu, or execute a leaf action

There is no inactivity timeout — the current position is remembered until changed.

Constructors

Link copied to clipboard
constructor(service: SoundscapeService, application: Context)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class MenuItem

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun destroy()
Link copied to clipboard
fun next()
Link copied to clipboard
fun previous()
Link copied to clipboard
fun select()