blob: c454cfc3d468217e85fb8459ceb351119434f651 [file] [log] [blame]
// Signature format: 4.0
package androidx.camera.extensions {
public interface CameraExtensionsControl {
method public default void setExtensionStrength(@IntRange(from=0, to=100) int);
}
public interface CameraExtensionsInfo {
method public default androidx.lifecycle.LiveData<java.lang.Integer!>? getCurrentExtensionMode();
method public default androidx.lifecycle.LiveData<java.lang.Integer!>? getExtensionStrength();
method public default boolean isCurrentExtensionModeAvailable();
method public default boolean isExtensionStrengthAvailable();
}
public final class ExtensionMode {
field public static final int AUTO = 5; // 0x5
field public static final int BOKEH = 1; // 0x1
field public static final int FACE_RETOUCH = 4; // 0x4
field public static final int HDR = 2; // 0x2
field public static final int NIGHT = 3; // 0x3
field public static final int NONE = 0; // 0x0
}
public final class ExtensionsManager {
method public androidx.camera.extensions.CameraExtensionsControl? getCameraExtensionsControl(androidx.camera.core.CameraControl);
method public androidx.camera.extensions.CameraExtensionsInfo getCameraExtensionsInfo(androidx.camera.core.CameraInfo);
method public android.util.Range<java.lang.Long!>? getEstimatedCaptureLatencyRange(androidx.camera.core.CameraSelector, int);
method public androidx.camera.core.CameraSelector getExtensionEnabledCameraSelector(androidx.camera.core.CameraSelector, int);
method public static com.google.common.util.concurrent.ListenableFuture<androidx.camera.extensions.ExtensionsManager!> getInstanceAsync(android.content.Context, androidx.camera.core.CameraProvider);
method public boolean isExtensionAvailable(androidx.camera.core.CameraSelector, int);
method public boolean isImageAnalysisSupported(androidx.camera.core.CameraSelector, int);
}
}