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 aRecorderParamsobject.Retrieve theAudioDeviceobject.Retrieves theMediaFileFormat.longGets 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.voidsetAudioDevice(AudioDevice device) Set theAudioDeviceobject.voidsetFileFormat(MediaFileFormat format) Set theMediaFileFormat.voidsetUserData(Object data) Sets the object to store in this object user's datavoidsetVideoCodec(String videoCodec) Set the video codec.voidsetWebcamName(String webcamName) Set the webcam name.voidsetWindowId(Object windowId) Sets the window id to use to display the camera preview.toString()
-
Method Details
-
getAudioDevice
- Returns:
- the
AudioDeviceobject.
-
setAudioDevice
- Parameters:
device- TheAudioDeviceobject to set.
-
getFileFormat
MediaFileFormat getFileFormat()- Returns:
- the
MediaFileFormat.
-
setFileFormat
Set theMediaFileFormat.
see:Core.getSupportedFileFormatsList()for information about supported
file formats.- Parameters:
format- TheMediaFileFormatto 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
RecorderParamsobject.
-
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()
-