emitError method

void emitError(
  1. int handle,
  2. String code, [
  3. String? description
])

Pushes a playback error for handle.

Implementation

void emitError(int handle, String code, [String? description]) {
  _controllerFor(handle).add(XVideoPlayerError(handle, code, description));
}