enableVideo static method
Enables the ability to capture video recording regardless of build settings.
Valid values for policy include “always” and “wifi”. Valid values for quality include “high”, “low”, “medium”. Values for fps must be between 0.1 and 2.0. Value will be rounded to the nearest frame.
Implementation
static Future<void> enableVideo(
String policy, String quality, double framesPerSecond) async {
TestFairyBase.prepareTwoWayInvoke();
final Map<String, dynamic> args = <String, dynamic>{
'policy': policy,
'quality': quality,
'framesPerSecond': framesPerSecond
};
await TestFairyBase.channel.invokeMethod<void>('enableVideo', args);
}