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
Modifier and Type Method Description static void
addProfile(int cameraId, int quality, CamcorderProfile profile)
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)
protected static CamcorderProfile
get(int cameraId, int quality)
protected static boolean
hasProfile(int cameraId, int quality)
static void
reset()
-
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
-