FileDocCategorySizeDatePackage
LegacyVendorTags.javaAPI DocAndroid 5.1 API1740Thu Mar 12 22:22:48 GMT 2015com.android.ex.camera2.portability

LegacyVendorTags

public class LegacyVendorTags extends Object
Vendor tag declarations for the Legacy Camera2 API implementation.

(Omit source code)

Fields Summary
private static final String
TAG
public static final int
CONTROL_SCENE_MODE_HDR
Hidden enum for scene modes supported only by the Camera1 API.
Constructors Summary
private LegacyVendorTags()


     
        int tempSceneMode = -1;
        try {
            tempSceneMode =
                    Class.forName("android.hardware.camera2.CameraCharacteristics").
                            getField("CONTROL_SCENE_MODE_HDR").getInt(null);
        } catch (Exception e) {
            Log.e(TAG, "Error while reflecting on SCENE_MODE_HDR enum, HDR will not be available: "
                    + e);
        } finally {
            CONTROL_SCENE_MODE_HDR = tempSceneMode;
        }
    
        throw new AssertionError();
    
Methods Summary