onWarning property
final
Warning Event Callback
Warning event, which indicates that the SDK threw an error requiring attention, such as video lag or high CPU usage.
For more information, see Error Codes.
- Parameters:
- warningCode(int):
- Warning code.
- warningMsg(String):
- Warning message.
- warningCode(int):
Implementation
final void Function(int warningCode, String warningMsg)? onWarning;