easy_onvif 1.0.4 easy_onvif: ^1.0.4 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: ^1.0.4
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/cmd/onvif_authorize_command.dart';
import 'package:easy_onvif/cmd/onvif_device_management_command.dart';
import 'package:easy_onvif/cmd/onvif_helper_command.dart';
import 'package:easy_onvif/cmd/onvif_media_command.dart';
import 'package:easy_onvif/cmd/onvif_ptz_command.dart';
import 'package:easy_onvif/model/address.dart';
import 'package:easy_onvif/model/address.g.dart';
import 'package:easy_onvif/model/analytics.dart';
import 'package:easy_onvif/model/analytics.g.dart';
import 'package:easy_onvif/model/audio_decoder_configuration.dart';
import 'package:easy_onvif/model/audio_decoder_configuration.g.dart';
import 'package:easy_onvif/model/audio_encoder_configuration.dart';
import 'package:easy_onvif/model/audio_encoder_configuration.g.dart';
import 'package:easy_onvif/model/audio_output_configuration.dart';
import 'package:easy_onvif/model/audio_output_configuration.g.dart';
import 'package:easy_onvif/model/audio_source.dart';
import 'package:easy_onvif/model/audio_source.g.dart';
import 'package:easy_onvif/model/audio_source_configuration.dart';
import 'package:easy_onvif/model/audio_source_configuration.g.dart';
import 'package:easy_onvif/model/audio_sources_response.dart';
import 'package:easy_onvif/model/audio_sources_response.g.dart';
import 'package:easy_onvif/model/body.dart';
import 'package:easy_onvif/model/body.g.dart';
import 'package:easy_onvif/model/bounds.dart';
import 'package:easy_onvif/model/bounds.g.dart';
import 'package:easy_onvif/model/capabilities.dart';
import 'package:easy_onvif/model/capabilities.g.dart';
import 'package:easy_onvif/model/capabilities_response.dart';
import 'package:easy_onvif/model/capabilities_response.g.dart';
import 'package:easy_onvif/model/code.dart';
import 'package:easy_onvif/model/code.g.dart';
import 'package:easy_onvif/model/configuration_response.dart';
import 'package:easy_onvif/model/configuration_response.g.dart';
import 'package:easy_onvif/model/configurations_response.dart';
import 'package:easy_onvif/model/configurations_response.g.dart';
import 'package:easy_onvif/model/date.dart';
import 'package:easy_onvif/model/date.g.dart';
import 'package:easy_onvif/model/date_time.dart';
import 'package:easy_onvif/model/date_time.g.dart';
import 'package:easy_onvif/model/detail.dart';
import 'package:easy_onvif/model/detail.g.dart';
import 'package:easy_onvif/model/device.dart';
import 'package:easy_onvif/model/device.g.dart';
import 'package:easy_onvif/model/device_information_response.dart';
import 'package:easy_onvif/model/device_information_response.g.dart';
import 'package:easy_onvif/model/device_service_capabilities.dart';
import 'package:easy_onvif/model/device_service_capabilities.g.dart';
import 'package:easy_onvif/model/envelope.dart';
import 'package:easy_onvif/model/envelope.g.dart';
import 'package:easy_onvif/model/events.dart';
import 'package:easy_onvif/model/events.g.dart';
import 'package:easy_onvif/model/extension.dart';
import 'package:easy_onvif/model/extension.g.dart';
import 'package:easy_onvif/model/get_preset_response.dart';
import 'package:easy_onvif/model/get_preset_response.g.dart';
import 'package:easy_onvif/model/h264.dart';
import 'package:easy_onvif/model/h264.g.dart';
import 'package:easy_onvif/model/header.dart';
import 'package:easy_onvif/model/header.g.dart';
import 'package:easy_onvif/model/hostname_information.dart';
import 'package:easy_onvif/model/hostname_information.g.dart';
import 'package:easy_onvif/model/hostname_response.dart';
import 'package:easy_onvif/model/hostname_response.g.dart';
import 'package:easy_onvif/model/i8n_text.dart';
import 'package:easy_onvif/model/i8n_text.g.dart';
import 'package:easy_onvif/model/media.dart';
import 'package:easy_onvif/model/media.g.dart';
import 'package:easy_onvif/model/media_uri.dart';
import 'package:easy_onvif/model/media_uri.g.dart';
import 'package:easy_onvif/model/metadata_configuration.dart';
import 'package:easy_onvif/model/metadata_configuration.g.dart';
import 'package:easy_onvif/model/misc_capabilities.dart';
import 'package:easy_onvif/model/misc_capabilities.g.dart';
import 'package:easy_onvif/model/mpeg4.dart';
import 'package:easy_onvif/model/mpeg4.g.dart';
import 'package:easy_onvif/model/multicast.dart';
import 'package:easy_onvif/model/multicast.g.dart';
import 'package:easy_onvif/model/network_capabilities.dart';
import 'package:easy_onvif/model/network_capabilities.g.dart';
import 'package:easy_onvif/model/network_protocol.dart';
import 'package:easy_onvif/model/network_protocol.g.dart';
import 'package:easy_onvif/model/network_protocols_response.dart';
import 'package:easy_onvif/model/network_protocols_response.g.dart';
import 'package:easy_onvif/model/ntp.dart';
import 'package:easy_onvif/model/ntp.g.dart';
import 'package:easy_onvif/model/ntp_information.dart';
import 'package:easy_onvif/model/ntp_information.g.dart';
import 'package:easy_onvif/model/ntp_response.dart';
import 'package:easy_onvif/model/ntp_response.g.dart';
import 'package:easy_onvif/model/pan_tilt.dart';
import 'package:easy_onvif/model/pan_tilt.g.dart';
import 'package:easy_onvif/model/pan_tilt_limits.dart';
import 'package:easy_onvif/model/pan_tilt_limits.g.dart';
import 'package:easy_onvif/model/preset.dart';
import 'package:easy_onvif/model/preset.g.dart';
import 'package:easy_onvif/model/probe/app_sequence.dart';
import 'package:easy_onvif/model/probe/app_sequence.g.dart';
import 'package:easy_onvif/model/probe/endpoint_reference.dart';
import 'package:easy_onvif/model/probe/endpoint_reference.g.dart';
import 'package:easy_onvif/model/probe/probe_match.dart';
import 'package:easy_onvif/model/probe/probe_match.g.dart';
import 'package:easy_onvif/model/probe/probe_matches.dart';
import 'package:easy_onvif/model/probe/probe_matches.g.dart';
import 'package:easy_onvif/model/profile.dart';
import 'package:easy_onvif/model/profile.g.dart';
import 'package:easy_onvif/model/profiles_response.dart';
import 'package:easy_onvif/model/profiles_response.g.dart';
import 'package:easy_onvif/model/ptz.dart';
import 'package:easy_onvif/model/ptz.g.dart';
import 'package:easy_onvif/model/ptz_configuration.dart';
import 'package:easy_onvif/model/ptz_configuration.g.dart';
import 'package:easy_onvif/model/ptz_position.dart';
import 'package:easy_onvif/model/ptz_position.g.dart';
import 'package:easy_onvif/model/ptz_speed.dart';
import 'package:easy_onvif/model/ptz_speed.g.dart';
import 'package:easy_onvif/model/ptz_status.dart';
import 'package:easy_onvif/model/ptz_status.g.dart';
import 'package:easy_onvif/model/rate_control.dart';
import 'package:easy_onvif/model/rate_control.g.dart';
import 'package:easy_onvif/model/reason.dart';
import 'package:easy_onvif/model/reason.g.dart';
import 'package:easy_onvif/model/resolution.dart';
import 'package:easy_onvif/model/resolution.g.dart';
import 'package:easy_onvif/model/root.dart';
import 'package:easy_onvif/model/root.g.dart';
import 'package:easy_onvif/model/security_capabilities.dart';
import 'package:easy_onvif/model/security_capabilities.g.dart';
import 'package:easy_onvif/model/service.dart';
import 'package:easy_onvif/model/service.g.dart';
import 'package:easy_onvif/model/service_capabilities_response.dart';
import 'package:easy_onvif/model/service_capabilities_response.g.dart';
import 'package:easy_onvif/model/services_response.dart';
import 'package:easy_onvif/model/services_response.g.dart';
import 'package:easy_onvif/model/set_preset_response.dart';
import 'package:easy_onvif/model/set_preset_response.g.dart';
import 'package:easy_onvif/model/space.dart';
import 'package:easy_onvif/model/space.g.dart';
import 'package:easy_onvif/model/space1d.dart';
import 'package:easy_onvif/model/space1d.g.dart';
import 'package:easy_onvif/model/space2d.dart';
import 'package:easy_onvif/model/space2d.g.dart';
import 'package:easy_onvif/model/status_response.dart';
import 'package:easy_onvif/model/status_response.g.dart';
import 'package:easy_onvif/model/supported_version.dart';
import 'package:easy_onvif/model/supported_version.g.dart';
import 'package:easy_onvif/model/system.dart';
import 'package:easy_onvif/model/system.g.dart';
import 'package:easy_onvif/model/system_capabilities.dart';
import 'package:easy_onvif/model/system_capabilities.g.dart';
import 'package:easy_onvif/model/system_date_and_time.dart';
import 'package:easy_onvif/model/system_date_and_time.g.dart';
import 'package:easy_onvif/model/system_date_time_response.dart';
import 'package:easy_onvif/model/system_date_time_response.g.dart';
import 'package:easy_onvif/model/system_log_uris.dart';
import 'package:easy_onvif/model/system_log_uris.g.dart';
import 'package:easy_onvif/model/system_uris_response.dart';
import 'package:easy_onvif/model/system_uris_response.g.dart';
import 'package:easy_onvif/model/time.dart';
import 'package:easy_onvif/model/time.g.dart';
import 'package:easy_onvif/model/time_zone.dart';
import 'package:easy_onvif/model/time_zone.g.dart';
import 'package:easy_onvif/model/uri_response.dart';
import 'package:easy_onvif/model/uri_response.g.dart';
import 'package:easy_onvif/model/user.dart';
import 'package:easy_onvif/model/user.g.dart';
import 'package:easy_onvif/model/users_response.dart';
import 'package:easy_onvif/model/users_response.g.dart';
import 'package:easy_onvif/model/version.dart';
import 'package:easy_onvif/model/version.g.dart';
import 'package:easy_onvif/model/video_analytics_configuration.dart';
import 'package:easy_onvif/model/video_analytics_configuration.g.dart';
import 'package:easy_onvif/model/video_encoder_configuration.dart';
import 'package:easy_onvif/model/video_encoder_configuration.g.dart';
import 'package:easy_onvif/model/video_source_configuration.dart';
import 'package:easy_onvif/model/video_source_configuration.g.dart';
import 'package:easy_onvif/model/video_sources.dart';
import 'package:easy_onvif/model/video_sources.g.dart';
import 'package:easy_onvif/model/video_sources_response.dart';
import 'package:easy_onvif/model/video_sources_response.g.dart';
import 'package:easy_onvif/model/zoom.dart';
import 'package:easy_onvif/model/zoom.g.dart';
import 'package:easy_onvif/model/zoom_limits.dart';
import 'package:easy_onvif/model/zoom_limits.g.dart';
import 'package:easy_onvif/onvif.dart';
import 'package:easy_onvif/util/extra.dart';
import 'package:easy_onvif/util/util.dart';