@nativescript-community/audio
    Preparing search index...

    Class AudioFocusManager

    Hierarchy

    • Observable
      • AudioFocusManager
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Adds a listener for the specified event name.

      Parameters

      • event: "audioFocusChange"
      • callback: (data: AudioFocusChangeEventData) => void

        The event listener to add. Will be called when an event of the given name is raised.

      • OptionalthisArg: any

        An optional parameter which, when set, will be bound as the this context when the callback is called. Falsy values will be not be bound.

      Returns any