onError
abstract fun onError(type: AudioEndPointDetector.ErrorType, e: Exception? = null)
Content copied to clipboard
Called when occur error
Parameters
type
the type for error
e
the exception, only exist if type is ErrorType.ERROR_EXCEPTION