IExporterStartExportAsync(DateTime, DateTime, String, String, ExportQuality) Method |  |
Starts export.
This is an asynchronous method. Completion is notified by
ExportComplete event.
Namespace: Bosch.Vms.CameoSdkAssembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntaxvoid StartExportAsync(
DateTime start,
DateTime end,
string path,
string name,
ExportQuality quality
)
Parameters
- start DateTime
- Start time in UTC.
- end DateTime
- End time in UTC.
- path String
- Path to destination folder.
- name String
- Name of export.
- quality ExportQuality
- Desired quality.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Invalid parameters are specified. |
| CameoSdkException |
- Video export is currently running. Cancel export (use Cancel method) or wait until current export will be completed.
- Cameras list for export is empty. Specify desired cameras for export (use AddCamera(ICamera) method).
|
Remarks
The output of export will be:
path\name.asx - playlist file in asx format (xml based)
path\name\0 - datetime.asf - first exported file
path\name\1 - datetime.asf - next file appears if previous file exceeds 640 MB (or other internal threshold)
path\name\N - datetime.asf
See Also