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