add On Audio Inspector Lifecycle Listener
open fun addOnAudioInspectorLifecycleListener(@NonNull listener: AudioView.AudioInspectorLifecycleListener)
Adds an AudioInspectorLifecycleListener for listening to the view lifecycle. If the listener has already been added previously, this method will be a no-op. Passing null
is not allowed and will result in an exception.
Parameters
listener
AudioInspectorLifecycleListener that should be notified. Must be non-null
.