vsdk 1.0.0+1 copy "vsdk: ^1.0.0+1" to clipboard
vsdk: ^1.0.0+1 copied to clipboard

This is new vsdk

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add vsdk

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  vsdk: ^1.0.0+1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:vsdk/app_dart.dart';
import 'package:vsdk/app_devices.dart';
import 'package:vsdk/app_p2p_api.dart';
import 'package:vsdk/app_player.dart';
import 'package:vsdk/basis_device.dart';
import 'package:vsdk/camera_device/camera_device.dart';
import 'package:vsdk/camera_device/commands/ai_command.dart';
import 'package:vsdk/camera_device/commands/alarm_command.dart';
import 'package:vsdk/camera_device/commands/camera_command.dart';
import 'package:vsdk/camera_device/commands/card_command.dart';
import 'package:vsdk/camera_device/commands/login_command.dart';
import 'package:vsdk/camera_device/commands/param_command.dart';
import 'package:vsdk/camera_device/commands/plan_command.dart';
import 'package:vsdk/camera_device/commands/record_command.dart';
import 'package:vsdk/camera_device/commands/status_command.dart';
import 'package:vsdk/camera_device/commands/video_command.dart';
import 'package:vsdk/camera_device/commands/voice_command.dart';
import 'package:vsdk/camera_device/commands/wakeup_command.dart';
import 'package:vsdk/device_wakeup_server.dart';
import 'package:vsdk/p2p_device/p2p_command.dart';
import 'package:vsdk/p2p_device/p2p_connect.dart';
import 'package:vsdk/p2p_device/p2p_device.dart';