View Source ExOnvif.Event (ExOnvif v0.7.1)

Interface for making requests to the Onvif event service

https://www.onvif.org/ver10/events/wsdl/event.wsdl

Summary

Functions

This method returns a PullPointSubscription that can be polled using PullMessages.

Returns the capabilities of the event service.

Functions

create_pull_point_subscription(device, filter \\ nil)

@spec create_pull_point_subscription(ExOnvif.Device.t(), String.t() | nil) ::
  {:ok, ExOnvif.Event.PullPointSubscription.t()} | {:error, any()}

This method returns a PullPointSubscription that can be polled using PullMessages.

This message contains the same elements as the SubscriptionRequest of the WS-BaseNotification without the ConsumerReference.

If no Filter is specified the pullpoint notifies all occurring events to the client.

get_service_capabilities(device)

@spec get_service_capabilities(ExOnvif.Device.t()) ::
  {:ok, ExOnvif.Event.ServiceCapabilities.t()}

Returns the capabilities of the event service.