public final class ParameterKey extends Object
| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
ParameterKey.Key<T> |
Defines the type of a parameter key.
|
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static ParameterKey.Key<Scope<Integer>> |
EXPOSURE_FPS_RANGE |
Indicates the key of a frame rate range that the AE can reach.
|
static ParameterKey.Key<Byte> |
IMAGE_COMPRESSION_QUALITY |
Indicates compression quality control.
|
static ParameterKey.Key<Boolean> |
IMAGE_MIRROR |
Indicates mirror image control that can be used by a front-facing camera for selfies.
|
static ParameterKey.Key<byte[]> |
VENDOR_CUSTOM |
Indicates the key of a vendor-defined control.
|
static ParameterKey.Key<Boolean> |
VIDEO_STABILIZATION |
Indicates video stabilization control.
|
public static final ParameterKey.Key<Scope<Integer>> EXPOSURE_FPS_RANGE
This key can be used to set the frame rate range for image sampling. To set a specific frame rate, ensure that the upper and lower limits of the range are the same. For example, you can use [30,30] to set the sampling frame rate to 30 fps.
public static final ParameterKey.Key<Byte> IMAGE_COMPRESSION_QUALITY
Range from 1 to 100, typical value is 90. Larger is higher quality, lower compression.
public static final ParameterKey.Key<Boolean> IMAGE_MIRROR
public static final ParameterKey.Key<byte[]> VENDOR_CUSTOM
public static final ParameterKey.Key<Boolean> VIDEO_STABILIZATION