Class ShadowMediaRecorder

java.lang.Object
org.robolectric.shadows.ShadowMediaRecorder

@Implements(android.media.MediaRecorder.class) public class ShadowMediaRecorder extends Object
  • Field Details

  • Constructor Details

    • ShadowMediaRecorder

      public ShadowMediaRecorder()
  • Method Details

    • __staticInitializer__

      @Implementation protected static void __staticInitializer__()
    • __constructor__

      @Implementation protected void __constructor__()
    • setAudioChannels

      @Implementation protected void setAudioChannels(int numChannels)
    • setAudioEncoder

      @Implementation protected void setAudioEncoder(int audio_encoder)
    • setAudioEncodingBitRate

      @Implementation protected void setAudioEncodingBitRate(int bitRate)
    • setAudioSamplingRate

      @Implementation protected void setAudioSamplingRate(int samplingRate)
    • setAudioSource

      @Implementation protected void setAudioSource(int audio_source)
    • setCamera

      @Implementation protected void setCamera(Camera c)
    • setMaxDuration

      @Implementation protected void setMaxDuration(int max_duration_ms)
    • setMaxFileSize

      @Implementation protected void setMaxFileSize(long max_filesize_bytes)
    • setOnErrorListener

      @Implementation protected void setOnErrorListener(MediaRecorder.OnErrorListener l)
    • setOnInfoListener

      @Implementation protected void setOnInfoListener(MediaRecorder.OnInfoListener listener)
    • setOutputFile

      @Implementation protected void setOutputFile(String path)
    • setOutputFormat

      @Implementation protected void setOutputFormat(int output_format)
    • setPreviewDisplay

      @Implementation protected void setPreviewDisplay(Surface sv)
    • setVideoEncoder

      @Implementation protected void setVideoEncoder(int video_encoder)
    • setVideoEncodingBitRate

      @Implementation protected void setVideoEncodingBitRate(int bitRate)
    • setVideoFrameRate

      @Implementation protected void setVideoFrameRate(int rate)
    • setVideoSize

      @Implementation protected void setVideoSize(int width, int height)
    • setVideoSource

      @Implementation protected void setVideoSource(int video_source)
    • prepare

      @Implementation protected void prepare()
    • start

      @Implementation protected void start()
    • stop

      @Implementation protected void stop()
    • reset

      @Implementation protected void reset()
    • release

      @Implementation protected void release()
    • getSurface

      @Implementation protected Surface getSurface()
    • getCamera

      public Camera getCamera()
    • getAudioChannels

      public int getAudioChannels()
    • getAudioEncoder

      public int getAudioEncoder()
    • getAudioEncodingBitRate

      public int getAudioEncodingBitRate()
    • getAudioSamplingRate

      public int getAudioSamplingRate()
    • getAudioSource

      public int getAudioSource()
    • getMaxDuration

      public int getMaxDuration()
    • getMaxFileSize

      public long getMaxFileSize()
    • getOutputPath

      public String getOutputPath()
    • getOutputFormat

      public int getOutputFormat()
    • getVideoEncoder

      public int getVideoEncoder()
    • getVideoEncodingBitRate

      public int getVideoEncodingBitRate()
    • getVideoFrameRate

      public int getVideoFrameRate()
    • getVideoWidth

      public int getVideoWidth()
    • getVideoHeight

      public int getVideoHeight()
    • getVideoSource

      public int getVideoSource()
    • getPreviewDisplay

      public Surface getPreviewDisplay()
    • getErrorListener

      public MediaRecorder.OnErrorListener getErrorListener()
    • getInfoListener

      public MediaRecorder.OnInfoListener getInfoListener()
    • getState

      public int getState()