28 lines
602 B
Java
28 lines
602 B
Java
|
package io.flutter.plugins.camera.features.autofocus;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public enum FocusMode {
|
||
|
auto("auto"),
|
||
|
locked("locked");
|
||
|
|
||
|
private final String strValue;
|
||
|
|
||
|
FocusMode(String str) {
|
||
|
this.strValue = str;
|
||
|
}
|
||
|
|
||
|
public static FocusMode getValueForString(String str) {
|
||
|
for (FocusMode focusMode : values()) {
|
||
|
if (focusMode.strValue.equals(str)) {
|
||
|
return focusMode;
|
||
|
}
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Enum
|
||
|
public final String toString() {
|
||
|
return this.strValue;
|
||
|
}
|
||
|
}
|