setDefinition method

Future<void> setDefinition(
  1. String definition
)

指定默认的清晰度,如"LD、HD"等

Implementation

Future<void> setDefinition(String definition) {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod("setDefinition", wrapWithPlayerId(arg: definition));
}