easy_onvif 2.1.3+9 easy_onvif: ^2.1.3+9 copied to clipboard
A pure Dart library designed primarily for command line automation of Onvif compatible devices, but can be used anywhere Dart is used.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate easy_onvif
Use it
The package has the following executables:
$ onvif
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add easy_onvif
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
easy_onvif: ^2.1.3+9
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:easy_onvif/command.dart';
import 'package:easy_onvif/device_management.dart';
import 'package:easy_onvif/imaging.dart';
import 'package:easy_onvif/media1.dart';
import 'package:easy_onvif/media2.dart';
import 'package:easy_onvif/meta.dart';
import 'package:easy_onvif/onvif.dart';
import 'package:easy_onvif/probe.dart';
import 'package:easy_onvif/ptz.dart';
import 'package:easy_onvif/recordings.dart';
import 'package:easy_onvif/replay.dart';
import 'package:easy_onvif/search.dart';
import 'package:easy_onvif/shared.dart';
import 'package:easy_onvif/soap.dart';
import 'package:easy_onvif/util.dart';