Microphone

interface Microphone

Provide a interface

  • Manipulate microphone on/off state

  • Get of/off state

Types

Link copied to clipboard
interface OnSettingChangeListener
Link copied to clipboard
data class Settings(var onOff: Boolean)

Functions

Link copied to clipboard
abstract fun addListener(listener: Microphone.OnSettingChangeListener)

Add listener to notified of settings changes

Link copied to clipboard
abstract fun getSettings(): Microphone.Settings

Return current settings of the microphone

Link copied to clipboard
abstract fun off(): Boolean

Turn off microphone.

Link copied to clipboard
abstract fun on(): Boolean

Turn on microphone.

Link copied to clipboard
abstract fun removeListener(listener: Microphone.OnSettingChangeListener)

Remove listener to notified of settings changes