OnSubtitleStateChangedType typedef
OnSubtitleStateChangedType =
void Function(SubtitleState state, SubtitleErrorCode errorCode, String errorMessage)
state
: The states of subtitles.
errorCode
: Error codes of the subtitling task.
errorMessage
: Detailed information on the third party services' errors.
Implementation
typedef OnSubtitleStateChangedType = void Function(
SubtitleState state, SubtitleErrorCode errorCode, String errorMessage);