startV2Ray method

Future<void> startV2Ray({
  1. required String remark,
  2. required String config,
  3. required String notificationDisconnectButtonName,
  4. List<String>? failoverConfigs,
  5. int? failoverThresholdMs,
  6. int? healthCheckIntervalMs,
  7. List<String>? blockedApps,
  8. List<String>? allowedApps,
  9. List<String>? bypassSubnets,
  10. List<String>? routes,
  11. List<String>? excludeRoutes,
  12. List<String>? dnsServers,
  13. bool enableWatchdog = true,
  14. bool preferDoH = false,
  15. String? dohUrl,
  16. List<String>? dohBootstrap,
  17. bool enableFakeDNS = false,
  18. String? fakeIpPool,
  19. String? fakeIpPoolV6,
  20. bool enableIPv6 = true,
  21. bool proxyOnly = false,
  22. bool showSpeedInNotification = true,
  23. bool allowInsecure = false,
})

Implementation

Future<void> startV2Ray({
  required String remark,
  required String config,
  required String notificationDisconnectButtonName,
  List<String>? failoverConfigs,
  int? failoverThresholdMs,
  int? healthCheckIntervalMs,
  List<String>? blockedApps,
  List<String>? allowedApps,
  List<String>? bypassSubnets,
  List<String>? routes,
  List<String>? excludeRoutes,
  List<String>? dnsServers,
  bool enableWatchdog = true,
  bool preferDoH = false,
  String? dohUrl,
  List<String>? dohBootstrap,
  bool enableFakeDNS = false,
  String? fakeIpPool,
  String? fakeIpPoolV6,
  bool enableIPv6 = true,
  bool proxyOnly = false,
  bool showSpeedInNotification = true,
  bool allowInsecure = false,
}) {
  throw UnimplementedError('startV2Ray() has not been implemented.');
}