onPlayerFailed property
Playback failure notification.
Available since: 1.0.0 Description: When playback starts or an exception occurs during playback and the playback fails, this callback will be used to notify you. Use case: Used by developers to update the UI. It is recommended that developers listen to this callback and provide necessary prompts to users. Caution: None.
errorCode
Error code
Implementation
static void Function(int errorCode)? onPlayerFailed;