uk.co.caprica.picam.enums.ExposureMode Maven / Gradle / Ivy
/*
* This file is part of picam.
*
* picam is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* picam is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with picam. If not, see .
*
* Copyright 2016 Caprica Software Limited.
*/
package uk.co.caprica.picam.enums;
public enum ExposureMode {
OFF(0),
AUTO(1),
NIGHT(2),
NIGHTPREVIEW(3),
BACKLIGHT(4),
SPOTLIGHT(5),
SPORTS(6),
SNOW(7),
BEACH(8),
VERYLONG(9),
FIXEDFPS(10),
ANTISHAKE(11),
FIREWORKS(12),
MAX(0x7fffffff);
private final int value;
ExposureMode(int value) {
this.value = value;
}
public int value() {
return value;
}
}