AudioView

Bottom auxiliary bar displayed when interacting with sound annotations. Provides buttons for recording/playing back SoundAnnotation as well as audio seek bar.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)

Types

Link copied to clipboard
Listener for the lifecycle of the AudioView.

Functions

Link copied to clipboard
Binds to audio playback controller.
Binds to audio recording controller.
Link copied to clipboard
Returns audio inspector height without any window insets (in immersive mode).
Link copied to clipboard
open fun hide(animate: Boolean)
Link copied to clipboard
open fun isVisible(): Boolean
Indicates whether audio inspector is visible.
Link copied to clipboard
open fun onClick(v: View)
Link copied to clipboard
open fun setVisibility(visibility: Int)
Link copied to clipboard
open fun show(animate: Boolean)
Link copied to clipboard
open fun unbindController()
Unbinds from controllers.