Click or drag to resize

IVideoStartRecordingVideoFile Method

Starts recording a new video file.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
string StartRecordingVideoFile(
	string 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.
MethodNotImplementedExceptionMust throw exception if not implemented.
NotConnectedExceptionMust throw exception if not connected.
InvalidOperationExceptionMust throw exception if the current camera state doesn't allow to begin recording a file.
DriverExceptionMust throw exception if there is any other problem as result of which the recording cannot begin.
See Also