OnRoutingChangedListener
interfaceOnRoutingChangedListener: AudioRouting.OnRoutingChangedListener
android.media.AudioTrack.OnRoutingChangedListener |
Defines the interface by which applications can receive notifications of routing changes for the associated AudioTrack
.
Summary
Public methods | |
---|---|
abstract Unit |
onRoutingChanged(audioTrack: AudioTrack!) Called when the routing of an AudioTrack changes from either and explicit or policy rerouting. |
open Unit |
onRoutingChanged(router: AudioRouting!) |
Public methods
onRoutingChanged
Added in API level 23
abstract funonRoutingChanged(audioTrack: AudioTrack!): Unit
Deprecated: Deprecated in Java.
Called when the routing of an AudioTrack changes from either and explicit or policy rerouting. Use getRoutedDevice()
to retrieve the newly routed-to device.
onRoutingChanged
open funonRoutingChanged(router: AudioRouting!): Unit
Deprecated: Deprecated in Java.