addBlackDevice static method
type : {FlutterAvpdef.BLACK_DEVICES_H264 / FlutterAvpdef.BLACK_DEVICES_HEVC}
Implementation
static Future<void> addBlackDevice(String type, String model) async {
var map = {
'black_type': type,
'black_device': model,
};
return FlutterAliPlayerFactory.methodChannel
.invokeMethod("addBlackDevice", map);
}