RVS_ONVIF_Core

open class RVS_ONVIF_Core : ProfileHandlerProtocol

This file contains methods, data structures and callbacks for the ONVIF Core Profile.

Public Static Properties

  • These are the namespaces handled by this profile handler.

    Declaration

    Swift

    public static var namespaces: [String] { get }
  • This is the scope enum for this handler.

    Declaration

    Swift

    public static var scopeProfile: RVS_ONVIF_Core.Scope.ProfileType

Public Typealiases

  • The response from GetHostname

    Declaration

    Swift

    public typealias HostnameResponse = (fromDHCP: Bool, name: String)

Public Instance Stored Properties

  • This is which of the profile namespaces are supported by this device. Latest version is last.

    Declaration

    Swift

    public var supportedNamespaces: [String]
  • This is the cache for the device scopes. It is filled at initialization time.

    Declaration

    Swift

    public var scopes: [RVS_ONVIF_Core.Scope]
  • This is a cache of the device information. It is filled at initialization time.

    Declaration

    Swift

    public var deviceInformation: [String : Any]
  • This is a cache of services that are returned from the GetServices call. It is filled at initialization time.

    Declaration

    Swift

    public var services: [String : RVS_ONVIF_Core.Service]
  • This is the cache for the device capabilities. It is filled at initialization time.

    Declaration

    Swift

    public var capabilities: RVS_ONVIF_Core.Capabilities!
  • This is the cache for the device service capabilities. It is filled at initialization time.

    Declaration

    Swift

    public var serviceCapabilities: RVS_ONVIF_Core.ServiceCapabilities!
  • This is the cache for the device network interface information. It is filled at initialization time.

    Declaration

    Swift

    public var networkInterfaces: [RVS_ONVIF_Core.NetworkInterface]!
  • This is the cache for the device network protocol information. It is filled at initialization time.

    Declaration

    Swift

    public var networkProtocols: [RVS_ONVIF_Core.NetworkProtocol]!
  • This is the cache for the default network gateways information. It is filled at initialization time.

    Declaration

    Swift

    public var networkDefaultGateways: [RVS_IPAddress]!
  • This is the cache for the device’s Dot 11 (WiFi) capabilities. It is filled at initialization time.

    Declaration

    Swift

    public var dot11Capabilities: RVS_ONVIF_Core.Dot11Capabilities!

Public Instance Calculated Properties

  • This is the profile name key.

    Declaration

    Swift

    public var profileName: String { get }
  • This is the RVS_ONVIF instance that “owns” this instance.

    Declaration

    Swift

    public var owner: RVS_ONVIF! { get }
  • This is a list of the commands (as enum values) available for this handler

    Declaration

    Swift

    public var availableCommands: [RVS_ONVIF_DeviceRequestProtocol] { get }
  • Declaration

    Swift

    public var hasWiFi: Bool { get }

    Return Value

    true, if this device has WiFi capabilities.

Public Callback Handler Instance Method

  • This is called upon a successful SOAP call. It must be public, because the protocol is public, but it will only be used internally.

    Declaration

    Swift

    public func callbackHandler(_ inResponseDictionary: [String : Any], soapRequest inSOAPRequest: String, soapEngine inSOAPEngine: SOAPEngine?) -> Bool

    Parameters

    inResponseDictionary

    The Dictionary ([String: Any]) of the response data.

    soapRequest

    The SOAP request object call, as a String

    soapEngine

    The SOAPEngine object that executed the request. This can be nil.

    Return Value

    true, if the callback was handled (including as an error).

Public Structs