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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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()
-
Constructor Details
-
ShadowCamcorderProfile
public ShadowCamcorderProfile()
-
-
Method Details
-
addProfile
-
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
-
get
-