public class DeviceUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE_DOUBLE |
static int |
BUFFER_SIZE_SINGLE |
static int |
BUFFER_SIZE_TRIPLE |
Constructor and Description |
---|
DeviceUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
downgradeBuffer(int width,
int height) |
static void |
shouldDowngradeBuffer(int width,
int height,
android.hardware.Camera camera) |
static boolean |
shouldEnableBackGroundCapture() |
static boolean |
shouldForceRestartCameraOnResume() |
static void |
shouldSetNightMode(android.hardware.Camera.Parameters parameters) |
public static final int BUFFER_SIZE_SINGLE
public static final int BUFFER_SIZE_DOUBLE
public static final int BUFFER_SIZE_TRIPLE
public static void shouldDowngradeBuffer(int width, int height, android.hardware.Camera camera)
public static int downgradeBuffer(int width, int height)
public static void shouldSetNightMode(android.hardware.Camera.Parameters parameters)
public static boolean shouldForceRestartCameraOnResume()
public static boolean shouldEnableBackGroundCapture()