setTrackingFPS method

  1. @override
Future<bool> setTrackingFPS(
  1. int fps
)
override

Implementation

@override
Future<bool> setTrackingFPS(int fps) async {
  final methodName = EyedidMethodName.setTrackingFPS.name;
  final Map<String, int> argumentMap = {
    EyedidArgumentKey.trackingFPS.name: fps
  };

  final isResult =
      await methodChannel.invokeMethod<bool>(methodName, argumentMap);
  return isResult ?? false;
}