Click or drag to resize

ICameraManagerStopRecording Method

Stops all recordings that have been started with the given recording id through StartRecording(Camera, Guid, RecordingType, Camera).

Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
bool StopRecording(
	Guid recordingId,
	out Camera[] stillRecordingCameras
)

Parameters

recordingId  Guid
Recording id used in a previous call to StartRecording(Camera, Guid, RecordingType, Camera)
stillRecordingCameras  Camera
On return contains a list of cameras (from those, that succeeded in the corresponding call to StartRecording(Camera, Guid, RecordingType, Camera)), where recording could not be stopped, because another call to StartRecording(Camera, Guid, RecordingType, Camera) refers to them as well.

The list is empty if all recordings have been stopped successfully.

Return Value

Boolean
Returns false, if "recordingId" is not valid. That means StartRecording(Camera, Guid, RecordingType, Camera) has never been called with that id. In all other cases the return value is true.
Exceptions
ExceptionCondition
SdkException Thrown in case recordingId is an empty Guid or if any other runtime problem occurs; see inner exception for more details.
UnauthorizedAccessSdkException Thrown if operation is not permitted to caller.
See Also