pixelFreeChangeHLSFilter method
Implementation
@override
Future<int> pixelFreeChangeHLSFilter(int handle, PFHLSFilterParams params) async {
final result = await methodChannel.invokeMethod('pixelFreeChangeHLSFilter', {
'handle': handle,
...params.toMap(),
});
if (result == null) {
throw Exception('Failed to change HLS filter: null result received');
}
return result as int;
}