| // Signature format: 4.0 |
| package androidx.camera.camera2 { |
| |
| @RequiresApi(21) public final class Camera2Config { |
| method public static androidx.camera.core.CameraXConfig defaultConfig(); |
| } |
| |
| } |
| |
| package androidx.camera.camera2.interop { |
| |
| @RequiresApi(21) @androidx.camera.camera2.interop.ExperimentalCamera2Interop public final class Camera2CameraControl { |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> addCaptureRequestOptions(androidx.camera.camera2.interop.CaptureRequestOptions); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> clearCaptureRequestOptions(); |
| method public static androidx.camera.camera2.interop.Camera2CameraControl from(androidx.camera.core.CameraControl); |
| method public androidx.camera.camera2.interop.CaptureRequestOptions getCaptureRequestOptions(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> setCaptureRequestOptions(androidx.camera.camera2.interop.CaptureRequestOptions); |
| } |
| |
| @RequiresApi(21) @androidx.camera.camera2.interop.ExperimentalCamera2Interop public final class Camera2CameraInfo { |
| method public static androidx.camera.camera2.interop.Camera2CameraInfo from(androidx.camera.core.CameraInfo); |
| method public <T> T? getCameraCharacteristic(android.hardware.camera2.CameraCharacteristics.Key<T!>); |
| method public String getCameraId(); |
| } |
| |
| @RequiresApi(21) @androidx.camera.camera2.interop.ExperimentalCamera2Interop public final class Camera2Interop { |
| } |
| |
| @RequiresApi(21) public static final class Camera2Interop.Extender<T> { |
| ctor public Camera2Interop.Extender(androidx.camera.core.ExtendableBuilder<T!>); |
| method public <ValueT> androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setCaptureRequestOption(android.hardware.camera2.CaptureRequest.Key<ValueT!>, ValueT); |
| method public androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setDeviceStateCallback(android.hardware.camera2.CameraDevice.StateCallback); |
| method @RequiresApi(28) public androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setPhysicalCameraId(String); |
| method public androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setSessionCaptureCallback(android.hardware.camera2.CameraCaptureSession.CaptureCallback); |
| method public androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setSessionStateCallback(android.hardware.camera2.CameraCaptureSession.StateCallback); |
| method @RequiresApi(33) public androidx.camera.camera2.interop.Camera2Interop.Extender<T!> setStreamUseCase(long); |
| } |
| |
| @RequiresApi(21) @androidx.camera.camera2.interop.ExperimentalCamera2Interop public class CaptureRequestOptions { |
| method public <ValueT> ValueT? getCaptureRequestOption(android.hardware.camera2.CaptureRequest.Key<ValueT!>); |
| } |
| |
| @RequiresApi(21) public static final class CaptureRequestOptions.Builder implements androidx.camera.core.ExtendableBuilder<androidx.camera.camera2.interop.CaptureRequestOptions> { |
| ctor public CaptureRequestOptions.Builder(); |
| method public androidx.camera.camera2.interop.CaptureRequestOptions build(); |
| method public <ValueT> androidx.camera.camera2.interop.CaptureRequestOptions.Builder clearCaptureRequestOption(android.hardware.camera2.CaptureRequest.Key<ValueT!>); |
| method public <ValueT> androidx.camera.camera2.interop.CaptureRequestOptions.Builder setCaptureRequestOption(android.hardware.camera2.CaptureRequest.Key<ValueT!>, ValueT); |
| } |
| |
| @RequiresOptIn @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface ExperimentalCamera2Interop { |
| } |
| |
| } |
| |