View Source Onvif.Media.Ver20.GetProfiles (Onvif v0.3.0)

Link to this section Summary

Functions

Parses the device response into a {:ok, profiles} tuple where profiles is a list, discarding the invalid transformations from map into a Onvif.Media.Ver20.Profile.t().

Link to this section Functions

Link to this function

request(device, args \\ [])

View Source
@spec request(Onvif.Device.t(), list()) :: {:ok, any()} | {:error, map()}
Link to this function

request_body(profile_token)

View Source
Link to this function

response(xml_response_body)

View Source

Parses the device response into a {:ok, profiles} tuple where profiles is a list, discarding the invalid transformations from map into a Onvif.Media.Ver20.Profile.t().