Class of android.media · AudioDeviceCallback.java · Android's reference
public abstract class AudioDeviceCallback
Told when audio devices come and go (AudioManager.registerAudioDeviceCallback).
public AudioDeviceCallback() empty body sourcepublic void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) empty body sourcepublic void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.