Interface ICamera
- Namespace
- Meraki.Api.Interfaces.Products.Camera
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface ICamera
Methods
GenerateDeviceCameraSnapshotAsync(string, CameraSnapshotRequest, CancellationToken)
Generate a snapshot of what the camera sees at the specified time and return a link to that image.
[Post("/devices/{serial}/camera/generateSnapshot")]
Task<CameraSnapshot> GenerateDeviceCameraSnapshotAsync(string serial, CameraSnapshotRequest generateNetworkCameraSnapshot, CancellationToken cancellationToken = default)
Parameters
serial
stringThe serial number
generateNetworkCameraSnapshot
CameraSnapshotRequestBody for generating network camera snapshot
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call