CameraConfig.TargetFps

  • TargetFps represents the desired frame rate for camera capture, though the actual rate can be lower in low light conditions.

  • There are two defined target frame rates: 30fps and 60fps.

  • TARGET_FPS_30 is available on all ARCore supported devices and can be used to filter for camera configs that support 30fps.

  • TARGET_FPS_60 increases power consumption and memory usage, is not supported on all devices, and can filter for camera configs supporting 60fps.

public static final enum CameraConfig.TargetFps

Target camera capture frame rates.

The target frame rate represents the maximum or desired frame rate. Actual camera capture frame rates can be lower than the target frame rate under low light conditions, in order to accommodate longer exposure times.

Inherited Methods

Enum Values

TARGET_FPS_30

public static final CameraConfig.TargetFps TARGET_FPS_30

Target 30fps camera capture frame rate.

Available on all ARCore supported devices.

When used as a camera filter, via CameraConfigFilter.setTargetFps(EnumSet), filters for camera configs that support 30fps.

TARGET_FPS_60

public static final CameraConfig.TargetFps TARGET_FPS_60

Target 60fps camera capture frame rate.

Increases power consumption and may increase app memory usage.

See the ARCore Supported Devices page for a list of devices that currently support 60fps.

When used as a camera filter, via CameraConfigFilter.setTargetFps(EnumSet), filters for camera configs that support 60fps.