IVideoStartRecordingVideoFile Method |
Starts recording a new video file.
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax string StartRecordingVideoFile(
string PreferredFileName
)
Function StartRecordingVideoFile (
PreferredFileName As String
) As String
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:
StringThe actual file name of the file that is being recorded.
Exceptions Exception | Condition |
---|
MethodNotImplementedException | Must throw exception if not implemented. |
NotConnectedException | Must throw exception if not connected. |
InvalidOperationException | Must throw exception if the current camera state doesn't allow to begin recording a file. |
DriverException | Must throw exception if there is any other problem as result of which the recording cannot begin. |
See Also