audioSignalsFlow

Emits live SignalCategory.Audio signals as audio routing changes.

Emits an initial snapshot then registers an AudioDeviceCallback to re-emit output device count/types and music-active state whenever accessories connect or disconnect. De-duplicated; the callback is unregistered on cancellation.

Privacy: connected audio devices can reveal user-owned accessories. No permission required.

Return

Cold flow of audio-route signal snapshots.

Parameters

context

Context used to obtain AudioManager.

See also