Class StreamRecorderOptions
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.StreamRecorder.dll
- API Level:
- 4
Specifies the options associated with StreamRecorder.
C#Copypublic class StreamRecorderOptions
- Inheritance
-
StreamRecorderOptions
Constructors
StreamRecorderOptions(String, RecorderFileFormat)
Initialize a new instance of the StreamRecorderOptions class with the specified save path and file format.
Declaration
C#Copypublic StreamRecorderOptions(string savePath, RecorderFileFormat fileFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | savePath | The path that the recording result is saved. |
RecorderFileFormat | fileFormat | The file format of output file. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
System.ArgumentException |
|
API Level: 4
Properties
Declaration
C#Copypublic StreamRecorderAudioOptions Audio { get; set; }
Property Value
Type | Description |
---|---|
StreamRecorderAudioOptions |
Remarks
See Also
API Level: 4
Declaration
C#Copypublic RecorderFileFormat FileFormat { get; set; }
Property Value
Type | Description |
---|---|
RecorderFileFormat |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
See Also
API Level: 4
Declaration
C#Copypublic string SavePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If the same file already exists in the file system, then old file will be overwritten.
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
System.ArgumentException |
|
API Level: 4
Declaration
C#Copypublic int SizeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The maximum size of a recording file in kilobytes, or 0 for unlimited size. |
Remarks
After reaching the limitation, the data which is being recorded will be discarded and not written to the file.
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|
API Level: 4
Declaration
C#Copypublic int TimeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The maximum time of recording in seconds, or 0 for unlimited time. |
Remarks
After reaching the limitation, the data which is being recorded will be discarded and not written to the file.
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|
API Level: 4
Declaration
C#Copypublic StreamRecorderVideoOptions Video { get; set; }
Property Value
Type | Description |
---|---|
StreamRecorderVideoOptions |