Class StreamRecorderOptions
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.StreamRecorder.dll
Specifies the options associated with StreamRecorder.
[Obsolete("Deprecated in API10; Will be removed in API12")]
public class StreamRecorderOptions
- Inheritance
-
objectStreamRecorderOptions
Constructors
View SourceStreamRecorderOptions(string, RecorderFileFormat)
Initialize a new instance of the StreamRecorderOptions class with the specified save path and file format.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public StreamRecorderOptions(string savePath, RecorderFileFormat fileFormat)
Parameters
Type | Name | Description |
---|---|---|
string | savePath | The path that the recording result is saved. |
RecorderFileFormat | fileFormat | The file format of output file. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
See Also
Properties
View SourceAudio
Gets or sets the options for audio recording.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public StreamRecorderAudioOptions Audio { get; set; }
Property Value
Type | Description |
---|---|
StreamRecorderAudioOptions |
Remarks
See Also
View SourceFileFormat
Gets or sets the file format for recording media stream.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public RecorderFileFormat FileFormat { get; set; }
Property Value
Type | Description |
---|---|
RecorderFileFormat |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
See Also
View SourceSavePath
Gets or sets the file path to record.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public string SavePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
If the same file already exists in the file system, then old file will be overwritten.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
See Also
View SourceSizeLimit
Gets or sets the maximum size of a recording file.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public int SizeLimit { get; set; }
Property Value
Type | Description |
---|---|
int | 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 |
---|---|
System.ArgumentOutOfRangeException |
|
See Also
View SourceTimeLimit
Gets or sets the time limit of recording.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public int TimeLimit { get; set; }
Property Value
Type | Description |
---|---|
int | 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 |
---|---|
System.ArgumentOutOfRangeException |
|
See Also
View SourceVideo
Gets or sets the options for video recording.
Declaration
[Obsolete("Deprecated in API10; Will be removed in API12")]
public StreamRecorderVideoOptions Video { get; set; }
Property Value
Type | Description |
---|---|
StreamRecorderVideoOptions |