Documentation ¶
Index ¶
- func NewClient(asyncCh chan<- *sdkModels.AsyncValues, lc logger.LoggingClient) client.Client
- type VapixClient
- func (c *VapixClient) CameraInit(edgexDevice models.Device, edgexProfile models.DeviceProfile, ipAddress string, ...)
- func (c *VapixClient) CameraRelease(force bool)
- func (c *VapixClient) HandleReadCommand(req sdkModels.CommandRequest) (*sdkModels.CommandValue, error)
- func (c *VapixClient) HandleWriteCommand(req sdkModels.CommandRequest, param *sdkModels.CommandValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(asyncCh chan<- *sdkModels.AsyncValues, lc logger.LoggingClient) client.Client
NewClient returns a new Vapix Client
Types ¶
type VapixClient ¶
type VapixClient struct {
// contains filtered or unexported fields
}
VapixClient is a client for requesting some basic analytic events from Axis cameras. It uses some deprecated APIs/methods and might not work with all Axis cameras out of the box.
func (*VapixClient) CameraInit ¶
func (c *VapixClient) CameraInit(edgexDevice models.Device, edgexProfile models.DeviceProfile, ipAddress string, username string, password string)
CameraInit initializes the Vapix listener for the camera
func (*VapixClient) CameraRelease ¶
func (c *VapixClient) CameraRelease(force bool)
CameraRelease shuts down the Vapix listener
func (*VapixClient) HandleReadCommand ¶
func (c *VapixClient) HandleReadCommand(req sdkModels.CommandRequest) (*sdkModels.CommandValue, error)
HandleReadCommand is not implemented for Vapix--all commands that reach here are unexpected.
func (*VapixClient) HandleWriteCommand ¶
func (c *VapixClient) HandleWriteCommand(req sdkModels.CommandRequest, param *sdkModels.CommandValue) error
HandleWriteCommand is not implemented for Vapix--all commands that reach here are unexpected.
Click to show internal directories.
Click to hide internal directories.