VideoStartRecordingVideoFile Method |
Starts recording a new video file.
Namespace: ASCOM.DriverAccessAssembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic string StartRecordingVideoFile(
string PreferredFileName
)
Public Function StartRecordingVideoFile (
PreferredFileName As String
) As String
public:
virtual String^ StartRecordingVideoFile(
String^ PreferredFileName
) sealed
Parameters
- PreferredFileName String
- 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
StringThe actual file name of the file that is being recorded.
Implements
IVideoStartRecordingVideoFile(String)
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | Must throw exception if the current camera state doesn't allow to begin recording a file. |
| NotConnectedException | If the device is not connected |
| DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request. |
See Also