webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
org.webrtc.Camera2Enumerator Class Reference
Inheritance diagram for org.webrtc.Camera2Enumerator:
org.webrtc.CameraEnumerator

Public Member Functions

 Camera2Enumerator (Context context)
 
String [] getDeviceNames ()
 
boolean isFrontFacing (String deviceName)
 
boolean isBackFacing (String deviceName)
 
List< CaptureFormat > getSupportedFormats (String deviceName)
 
CameraVideoCapturer createCapturer (String deviceName, CameraVideoCapturer.CameraEventsHandler eventsHandler)
 

Static Public Member Functions

static boolean isSupported (Context context)
 

Constructor & Destructor Documentation

◆ Camera2Enumerator()

org.webrtc.Camera2Enumerator.Camera2Enumerator ( Context  context)
inline

Member Function Documentation

◆ createCapturer()

CameraVideoCapturer org.webrtc.Camera2Enumerator.createCapturer ( String  deviceName,
CameraVideoCapturer.CameraEventsHandler  eventsHandler 
)
inline

◆ getDeviceNames()

String [] org.webrtc.Camera2Enumerator.getDeviceNames ( )
inline

◆ getSupportedFormats()

List<CaptureFormat> org.webrtc.Camera2Enumerator.getSupportedFormats ( String  deviceName)
inline

◆ isBackFacing()

boolean org.webrtc.Camera2Enumerator.isBackFacing ( String  deviceName)
inline

◆ isFrontFacing()

boolean org.webrtc.Camera2Enumerator.isFrontFacing ( String  deviceName)
inline

◆ isSupported()

static boolean org.webrtc.Camera2Enumerator.isSupported ( Context  context)
inlinestatic

Checks if API is supported and all cameras have better than legacy support.


The documentation for this class was generated from the following file: