public enum CameraFacingMode extends Enum<CameraFacingMode>
Modifier and Type | Method and Description |
---|---|
static List<CameraFacingMode> |
getFacingModes() |
String |
getName() |
static CameraFacingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CameraFacingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraFacingMode FRONT
public static final CameraFacingMode REAR
public static final CameraFacingMode LEFT
public static final CameraFacingMode RIGHT
public static CameraFacingMode[] values()
for (CameraFacingMode c : CameraFacingMode.values()) System.out.println(c);
public static CameraFacingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static List<CameraFacingMode> getFacingModes()
Copyright © 2018. All rights reserved.