30 lines
634 B
Java
30 lines
634 B
Java
package io.flutter.plugins.camera.features.flash;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public enum FlashMode {
|
|
off("off"),
|
|
auto("auto"),
|
|
always("always"),
|
|
torch("torch");
|
|
|
|
private final String strValue;
|
|
|
|
FlashMode(String str) {
|
|
this.strValue = str;
|
|
}
|
|
|
|
public static FlashMode getValueForString(String str) {
|
|
for (FlashMode flashMode : values()) {
|
|
if (flashMode.strValue.equals(str)) {
|
|
return flashMode;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override // java.lang.Enum
|
|
public final String toString() {
|
|
return this.strValue;
|
|
}
|
|
}
|