HardwareEventListener

interface HardwareEventListener

This interface represent the API for all event related to Device event(Hardware button).

Functions

Link copied to clipboard
abstract fun deviceSupportSpecificLibrary(library: Int)

Callback triggered when device support Specific Library

Link copied to clipboard
abstract fun onLowLatencyAudioLib(lowLatencyAudio: Int)

Callback triggered to set device low latency lib type

Link copied to clipboard
abstract fun onPressNextSwitch()

Callback triggered when switch next with device button

Link copied to clipboard
abstract fun onPressPreviousSwitch()

Callback triggered when switch previous with device button

Link copied to clipboard
abstract fun onPttButtonPressed(hasMultipleButton: Boolean?)

Callback triggered when click (action down) on PTT device button

Link copied to clipboard
abstract fun onPttButtonReleased(hasMultipleButton: Boolean?)

Callback triggered when click (action up) on PTT device button

Link copied to clipboard
abstract fun onSosButtonPressed(hasMultipleButton: Boolean?)

Callback triggered when click (action down) on SOS device button

Link copied to clipboard
abstract fun onSosButtonReleased(hasMultipleButton: Boolean?)

Callback triggered when click (action up) on SOS device button