AudioRouting.OnRoutingChangedListener
class instead.@Deprecated public static interface AudioRecord.OnRoutingChangedListener extends AudioRouting.OnRoutingChangedListener
AudioRecord
.Modifier and Type | Method and Description |
---|---|
void |
onRoutingChanged(AudioRecord audioRecord)
Deprecated.
Called when the routing of an AudioRecord changes from either and
explicit or policy rerouting.
|
default void |
onRoutingChanged(AudioRouting router)
Deprecated.
|
void onRoutingChanged(AudioRecord audioRecord)
AudioRouting.getRoutedDevice()
to
retrieve the newly routed-from device.default void onRoutingChanged(AudioRouting router)
onRoutingChanged
in interface AudioRouting.OnRoutingChangedListener