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()Clones aRecorderParamsobject.Retrieves 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) Sets theAudioDeviceobject.voidsetFileFormat(MediaFileFormat format) Sets theMediaFileFormat.voidsetUserData(Object data) Sets the object to store in this object user's datavoidsetVideoCodec(String videoCodec) Sets the video codec.voidsetWebcamName(String webcamName) Sets 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
Sets theMediaFileFormat.
see:Core.getSupportedFileFormatsList()for information about supported
file formats.- Parameters:
format- TheMediaFileFormatto set.
-
getVideoCodec
Retrieves the video codec.
- Returns:
- The video codec.
-
setVideoCodec
Sets the video codec.
- Parameters:
videoCodec- The video codec to set.
-
getWebcamName
Retrieves the webcam name.
- Returns:
- The webcam name.
-
setWebcamName
Sets 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()
-