is Metering Area Supported - Android android.hardware

Android examples for android.hardware:Camera Feature

Description

is Metering Area Supported

Demo Code


//package com.java2s;

import android.hardware.Camera;

public class Main {
    public static boolean isMeteringAreaSupported(Camera.Parameters params) {
        return params.getMaxNumMeteringAreas() > 0;
    }//from   w  ww.  ja v  a  2 s .c  o m
}

Related Tutorials