Camera2Enumerator

tee3.webrtc

## 类 Camera2Enumerator

- java.lang.Object
- - tee3.webrtc.Camera2Enumerator

- 所有已实现的接口:
    CameraEnumerator

      public class Camera2Enumerator
      extends java.lang.Object
      implements CameraEnumerator

- - ### 构造器概要

    构造器
    构造器和说明
    `Camera2Enumerator(android.content.Context context)`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `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)`
    `static boolean` | `isSupported(android.content.Context context)` Checks if API is supported and all cameras have better than legacy support.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### Camera2Enumerator

          public Camera2Enumerator(android.content.Context context)

  - ### 方法详细资料

    - #### getDeviceNames

          public java.lang.String[] getDeviceNames()

      指定者:
        `getDeviceNames` 在接口中 `CameraEnumerator`

    - #### isFrontFacing

          public boolean isFrontFacing(java.lang.String deviceName)

      指定者:
        `isFrontFacing` 在接口中 `CameraEnumerator`

    - #### isBackFacing

          public boolean isBackFacing(java.lang.String deviceName)

      指定者:
        `isBackFacing` 在接口中 `CameraEnumerator`

    - #### getSupportedFormats

          public java.util.List<CameraEnumerationAndroid.CaptureFormat> getSupportedFormats(java.lang.String deviceName)

      指定者:
        `getSupportedFormats` 在接口中 `CameraEnumerator`

    - #### createCapturer

          public CameraVideoCapturer createCapturer(java.lang.String deviceName,
                                                    CameraVideoCapturer.CameraEventsHandler eventsHandler)

      指定者:
        `createCapturer` 在接口中 `CameraEnumerator`

    - #### isSupported

          public static boolean isSupported(android.content.Context context)

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