Package org.linphone.core
Interface RecorderParams
public interface RecorderParams
Object containing various parameters of a
see:
Recorder
. see:
Core.createRecorder(org.linphone.core.RecorderParams)
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Clone aRecorderParams
object.Retrieve theAudioDevice
object.Retrieves the #LinphoneRecorderFileFormat.long
Gets the native pointer used by this class to make native method calls.Gets the object stored in this object user's dataRetrieves the video codec.Retrieves the webcam name.Retrieves the window id used to display the camera preview.void
setAudioDevice
(AudioDevice device) Set theAudioDevice
object.void
setFileFormat
(MediaFileFormat format) Set the #LinphoneRecorderFileFormat.void
setUserData
(Object data) Sets the object to store in this object user's datavoid
setVideoCodec
(String videoCodec) Set the video codec.void
setWebcamName
(String webcamName) Set the webcam name.void
setWindowId
(Object windowId) Sets the window id to use to display the camera preview.toString()
-
Method Details
-
getAudioDevice
- Returns:
- the
AudioDevice
object.
-
setAudioDevice
- Parameters:
device
- TheAudioDevice
object to set.
-
getFileFormat
MediaFileFormat getFileFormat()Retrieves the #LinphoneRecorderFileFormat.
- Returns:
- the #LinphoneRecorderFileFormat.
-
setFileFormat
Set the #LinphoneRecorderFileFormat.
see:Core.getSupportedFileFormatsList()
for information about supported
file formats.- Parameters:
format
- The #LinphoneRecorderFileFormat to set.
-
getVideoCodec
Retrieves the video codec.
- Returns:
- the video codec.
-
setVideoCodec
Set the video codec.
- Parameters:
videoCodec
- The video codec to set.
-
getWebcamName
Retrieves the webcam name.
- Returns:
- the webcam name.
-
setWebcamName
Set the webcam name.
- Parameters:
webcamName
- The webcam name to set.
-
getWindowId
Retrieves the window id used to display the camera preview.
- Returns:
- the window id.
-
setWindowId
Sets the window id to use to display the camera preview.
see: linphone_core_set_native_window_id() for a general discussion about window
ID types.- Parameters:
windowId
- The window id to set.
-
clone
- Returns:
- the cloned
RecorderParams
object.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-