View Source Hikvision.ContentManagement (HikvisionClient v0.1.1)
Content management operations
Link to this section Summary
Link to this section Functions
@spec download(binary(), Path.t()) :: Hikvision.Operation.t()
Download video footage.
A playback URI must be supplied to download the resource, the URI can be obtained from
the response of Hikvision.ContentManagement.search/2
function
@spec search(integer(), Keyword.t()) :: Hikvision.Operation.t()
Search content in the device
It acceps the following options:
id
- the search id, useful to do pagination. Default, a random uuidresource_type
- where to search for the content, it can bestream
,sub_stream
orpicture
. Defaults tostream
start_time
- filter out content less than this time. Defaults to current datetimeend_time
- filter out content after this time. Defaults to current datetimeoffset
- the offset to the search, defaults to 0limit
- the max number of items to return, defaults to 64
@spec search_profile() :: Hikvision.Operation.t()