RVS_ONVIF_Core
open class RVS_ONVIF_Core : ProfileHandlerProtocol
This file contains methods, data structures and callbacks for the ONVIF Core Profile.
-
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
-
The response from GetHostname
Declaration
Swift
public typealias HostnameResponse = (fromDHCP: Bool, name: String)
-
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!
-
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.
-
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).
-
This protocol will allow scopes to hold ancillary information, which is used when parsing them.
See moreDeclaration
Swift
public struct Scope : OwnedInstanceProtocol
-
This struct is the response from the GetDNS command.
See moreDeclaration
Swift
public struct DNSRecord : OwnedInstanceProtocol
-
This struct is the response from the GetDynamicDNS command.
See moreDeclaration
Swift
public struct DynamicDNSRecord : OwnedInstanceProtocol
-
This struct is the response from the GetNTP command.
See moreDeclaration
Swift
public struct NTPRecord : OwnedInstanceProtocol
-
This struct describes a single service (response to “fetchServices()”)
See moreDeclaration
Swift
public struct Service : OwnedInstanceProtocol
-
This struct describes all our service capabilities (response to “fetchServiceCapabilities()”)
See moreDeclaration
Swift
public struct ServiceCapabilities : OwnedInstanceProtocol
-
This struct describes a single service network capability
See moreDeclaration
Swift
public struct NetworkCapabilities : OwnedInstanceProtocol
-
This struct describes a single service security capability
See moreDeclaration
Swift
public struct SecurityCapabilities : OwnedInstanceProtocol
-
This struct describes a single service system capability
See moreDeclaration
Swift
public struct SystemCapabilities : OwnedInstanceProtocol
-
This struct describes all our capabilities (response to “fetchDeviceCapabilities()”)
See moreDeclaration
Swift
public struct Capabilities : OwnedInstanceProtocol
-
This struct describes the analytics Capabilities
See moreDeclaration
Swift
public struct AnalyticsCapabilities : OwnedInstanceProtocol
-
This struct describes our Analytics Device capabilities
See moreDeclaration
Swift
public struct AnalyticsDeviceCapabilities : OwnedInstanceProtocol
-
This struct describes all our device capabilities (devices response to “fetchDeviceCapabilities()”)
See moreDeclaration
Swift
public struct DeviceCapabilities : OwnedInstanceProtocol
-
This struct describes a single I/O capability for the Device Capabilities
See moreDeclaration
Swift
public struct DeviceIOCapabilities : OwnedInstanceProtocol
-
This struct describes our Display capabilities
See moreDeclaration
Swift
public struct DisplayCapabilities : OwnedInstanceProtocol
-
This struct describes the events Capabilities
See moreDeclaration
Swift
public struct EventsCapabilities : OwnedInstanceProtocol
-
This struct describes our imaging capabilities
See moreDeclaration
Swift
public struct ImagingCapabilities : OwnedInstanceProtocol
-
This struct describes our Device I/O capabilities
See moreDeclaration
Swift
public struct InternalDeviceIOCapabilities : OwnedInstanceProtocol
-
This struct describes our Media capabilities
See moreDeclaration
Swift
public struct MediaCapabilities : OwnedInstanceProtocol
-
This struct describes our PTZ capabilities
See moreDeclaration
Swift
public struct PTZCapabilities : OwnedInstanceProtocol
-
This struct describes our receiver capabilities
See moreDeclaration
Swift
public struct ReceiverCapabilities : OwnedInstanceProtocol
-
This struct describes our recording capabilities
See moreDeclaration
Swift
public struct RecordingCapabilities : OwnedInstanceProtocol
-
This struct describes our replay capabilities
See moreDeclaration
Swift
public struct ReplayCapabilities : OwnedInstanceProtocol
-
This struct describes our search capabilities
See moreDeclaration
Swift
public struct SearchCapabilities : OwnedInstanceProtocol
-
This enum describes a single network protocol data model
See moreDeclaration
Swift
public enum NetworkProtocol
-
This struct describes a single network interface data model
See moreDeclaration
Swift
public struct NetworkInterface : OwnedInstanceProtocol
-
This struct describes the model for the “info” item of the newtork interface struct
See moreDeclaration
Swift
public struct NetworkInterfaceInfo
-
This struct describes the model for the “link” item of the newtork interface struct
See moreDeclaration
Swift
public struct NetworkInterfaceLink
-
This struct describes the model for the Dot11 Capabilities struct
See moreDeclaration
Swift
public struct Dot11Capabilities
-
This struct describes the model for the Dot11 Status struct
See moreDeclaration
Swift
public struct Dot11Status
-
This struct describes the model for a network interface extension record.
See moreDeclaration
Swift
public struct NetworkInterfaceExtension
-
This struct describes the model for a network interface 802.11 configuration extension record.
See moreDeclaration
Swift
public struct Dot11Configuration
-
This struct describes the model for an IPv4 or IPv6 address, as used in the Network Interface Info List.
See moreDeclaration
Swift
public struct IPAddressEntry
-
This struct describes the model for an IPv4 or IPv6 interface configuration. It has a couple of fields which are not filled for IPv4.
See moreDeclaration
Swift
public struct IPConfiguration
-
This struct describes the model for an IPv4 interface.
See moreDeclaration
Swift
public struct IPNetworkInterface
-
This struct describes the settings for an admin or operator of a link.
See moreDeclaration
Swift
public struct NetworkInterfaceConnectionSetting : OwnedInstanceProtocol