public class Camera1Enumerator extends java.lang.Object implements CameraEnumerator
Constructor and Description |
---|
Camera1Enumerator() |
Camera1Enumerator(boolean captureToTexture) |
Modifier and Type | Method and Description |
---|---|
CameraVideoCapturer |
createCapturer(java.lang.String deviceName,
CameraVideoCapturer.CameraEventsHandler eventsHandler) |
java.lang.String[] |
getDeviceNames() |
java.util.List<CameraEnumerationAndroid.CaptureFormat> |
getSupportedFormats(java.lang.String deviceName) |
boolean |
isBackFacing(java.lang.String deviceName) |
boolean |
isFrontFacing(java.lang.String deviceName) |
public Camera1Enumerator()
public Camera1Enumerator(boolean captureToTexture)
public java.lang.String[] getDeviceNames()
getDeviceNames
in interface CameraEnumerator
public boolean isFrontFacing(java.lang.String deviceName)
isFrontFacing
in interface CameraEnumerator
public boolean isBackFacing(java.lang.String deviceName)
isBackFacing
in interface CameraEnumerator
public java.util.List<CameraEnumerationAndroid.CaptureFormat> getSupportedFormats(java.lang.String deviceName)
getSupportedFormats
in interface CameraEnumerator
public CameraVideoCapturer createCapturer(java.lang.String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler)
createCapturer
in interface CameraEnumerator
6.4.1