setQuality method

  1. @override
Future<void> setQuality(
  1. String value
)
override

Sets the streaming quality to the specified value.

Implementation

@override
Future<void> setQuality(String value) async {
  try {
    return await _methodChannel.invokeMethod("setQuality", {
      "quality": value,
    });
  } catch (e) {
    throw Exception("Unable to set the streaming quality [Set Quality]");
  }
}