Liblinphone  5.5.0
Linphone.Recorder Class Reference
Inheritance diagram for Linphone.Recorder:
Linphone.LinphoneObject

Public Member Functions

void Close ()
 
Linphone.Content CreateContent ()
 
void Open (string file)
 
void Pause ()
 
void Start ()
 

Properties

float CaptureVolume [get]
 
int Duration [get]
 
string File [get]
 
Linphone.RecorderParams Params [get, set]
 
Linphone.RecorderState State [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

Interface used to record audio and video into files.

See : Linphone.Core.CreateRecorder()

Member Function Documentation

void Linphone.Recorder.Close ( )
inline

Closes the opened file.

Linphone.Content Linphone.Recorder.CreateContent ( )
inline

Create a Linphone.Content object from the recording, for example to send it within a Linphone.ChatMessage.

Warning : Recorder must be in Closed state!

Returns
the Linphone.Content matching the recording, or null.
void Linphone.Recorder.Open ( string  file)
inline

Opens a file for recording.

If the file already exists, it will open in append mode, otherwise it is created.

Parameters
fileThe path to the file to open.
void Linphone.Recorder.Pause ( )
inline

Pauses the recording.

void Linphone.Recorder.Start ( )
inline

Starts the recording into the opened file.

Property Documentation

float Linphone.Recorder.CaptureVolume
get

Get linear volume when capturing audio.

Returns
Linear volume.
int Linphone.Recorder.Duration
get

Gets the duration of the recording.

Returns
the duration of the recording, in milliseconds.
string Linphone.Recorder.File
get

Gets the file used for recording.

Returns
the file used for the recording if any.
Linphone.RecorderParams Linphone.Recorder.Params
getset

Retrieves the Linphone.RecorderParams object.

Returns
The Linphone.RecorderParams object.
Linphone.RecorderState Linphone.Recorder.State
get

Gets the current state of the recorder.

Returns
the current Linphone.RecorderState.

The documentation for this class was generated from the following file: