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