CameraSourceConfig

  • CameraSourceConfig is a class used to hold different camera source settings.

  • It includes a Builder class for configuration and an interface for specifying the camera's facing direction.

  • Constants are defined for both back and front camera facing directions.

public class CameraSourceConfig extends Object

Config class to hold different camera source settings.

Nested Class Summary

class CameraSourceConfig.Builder Builder for CameraSourceConfig.
@interface CameraSourceConfig.CameraFacing Direction of the camera facing relative to device screen.

Constant Summary

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int CAMERA_FACING_BACK

Constant Value: 1

public static final int CAMERA_FACING_FRONT

Constant Value: 0

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年10月31日 UTC.