Class ShadowCamcorderProfile

java.lang.Object
org.robolectric.shadows.ShadowCamcorderProfile

@Implements(android.media.CamcorderProfile.class) public class ShadowCamcorderProfile extends Object
Shadow of the CamcorderProfile that allows the caller to add custom profile settings.
  • Constructor Details

    • ShadowCamcorderProfile

      public ShadowCamcorderProfile()
  • Method Details

    • addProfile

      public static void addProfile(int cameraId, int quality, CamcorderProfile profile)
    • reset

      @Resetter public static void reset()
    • createProfile

      public static CamcorderProfile createProfile(int duration, int quality, int fileFormat, int videoCodec, int videoBitRate, int videoFrameRate, int videoWidth, int videoHeight, int audioCodec, int audioBitRate, int audioSampleRate, int audioChannels)
    • hasProfile

      @Implementation protected static boolean hasProfile(int cameraId, int quality)
    • get

      @Implementation protected static CamcorderProfile get(int cameraId, int quality)