onError
open override fun onError(type: AudioEndPointDetector.ErrorType, e: Exception?)
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