is Camera Metering Area Supported - Android android.hardware

Android examples for android.hardware:Camera Feature

Description

is Camera Metering Area Supported

Demo Code

import android.hardware.Camera.Parameters;

public class Main {

  public static boolean isMeteringAreaSupported(Parameters params) {
    return params.getMaxNumMeteringAreas() > 0;
  }//from w w w. ja v  a 2  s  .c  om

}

Related Tutorials