Click or drag to resize

IVideoStartRecordingVideoFile Method

Starts recording a new video file.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
string StartRecordingVideoFile(
	string PreferredFileName
)

Parameters

PreferredFileName
Type: SystemString
The file name requested by the client. Some systems may not allow the file name to be controlled directly and they should ignore this parameter.

Return Value

Type: String
The actual file name of the file that is being recorded.
Exceptions
ExceptionCondition
MethodNotImplementedExceptionMust throw exception if not implemented.
InvalidOperationExceptionMust throw exception if the current camera state doesn't allow to begin recording a file.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
See Also