Interface RecorderParams


public interface RecorderParams
Object containing various parameters of a Recorder.

  • Method Details

    • getAudioDevice

      @Nullable AudioDevice getAudioDevice()
      Retrieve the AudioDevice object.

      Returns:
      the AudioDevice object.
    • setAudioDevice

      void setAudioDevice(@Nullable AudioDevice device)
      Set the AudioDevice object.

      Parameters:
      device - The AudioDevice object to set.
    • getFileFormat

      Recorder.FileFormat getFileFormat()
      Retrieves the Recorder#FileFormat.

      Returns:
      the Recorder#FileFormat.
    • setFileFormat

      void setFileFormat(Recorder.FileFormat format)
      Set the Recorder#FileFormat.

      Parameters:
      format - The Recorder#FileFormat to set.
    • getVideoCodec

      @Nullable String getVideoCodec()
      Retrieves the video codec.

      Returns:
      the video codec.
    • setVideoCodec

      void setVideoCodec(@Nullable String videoCodec)
      Set the video codec.

      Parameters:
      videoCodec - The video codec to set.
    • getWebcamName

      @Nullable String getWebcamName()
      Retrieves the webcam name.

      Returns:
      the webcam name.
    • setWebcamName

      void setWebcamName(@Nullable String webcamName)
      Set the webcam name.

      Parameters:
      webcamName - The webcam name to set.
    • getWindowId

      @Nullable Object getWindowId()
      Retrieves the window id.

      Returns:
      the window id.
    • setWindowId

      void setWindowId(@Nullable Object windowId)
      Set the window id.

      Parameters:
      windowId - The window id to set.
    • clone

      @NonNull RecorderParams clone()
      Clone a RecorderParams object.

      Returns:
      the cloned RecorderParams object.
    • setUserData

      void setUserData(Object data)
      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()
      Overrides:
      toString in class Object