Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowCamcorderProfile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddProfile(int cameraId, int quality, CamcorderProfile profile)static CamcorderProfilecreateProfile(int duration, int quality, int fileFormat, int videoCodec, int videoBitRate, int videoFrameRate, int videoWidth, int videoHeight, int audioCodec, int audioBitRate, int audioSampleRate, int audioChannels)protected static CamcorderProfileget(int cameraId, int quality)protected static booleanhasProfile(int cameraId, int quality)static voidreset()
-
-
-
Method Detail
-
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)
-
-