MVideo.LocalCameraSwitch

cn.tee3.avd

## 类 MVideo.LocalCameraSwitch

- java.lang.Object
- - cn.tee3.avd.MVideo.LocalCameraSwitch

- 封闭类:
    MVideo

      protected static class MVideo.LocalCameraSwitch
      extends java.lang.Object

- - ### 构造器概要

    构造器
    构造器和说明
    `LocalCameraSwitch(Room room)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addRender(VideoRenderer render)`
    `java.lang.String` | `getCurrentVideoId()`
    `VideoRenderer` | `getLocalVideoRender()`
    `VideoRenderer` | `getRender(java.lang.String did)`
    `boolean` | `hasFrontId()`
    `boolean` | `isFrontCamera(java.lang.String cid)`
    `boolean` | `isSelfDevice(java.lang.String did)`
    `boolean` | `isSingleCameraMode()`
    `VideoRenderer` | `removeRender(java.lang.String did)`
    `void` | `removeRender(VideoRenderer render)`
    `void` | `setCurrentVideoId(java.lang.String cid)`
    `void` | `setFrontVideoId(java.lang.String vid)`

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

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

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

    - #### LocalCameraSwitch

          public LocalCameraSwitch(Room room)

  - ### 方法详细资料

    - #### setFrontVideoId

          public void setFrontVideoId(java.lang.String vid)

    - #### setCurrentVideoId

          public void setCurrentVideoId(java.lang.String cid)

    - #### getCurrentVideoId

          @Nullable
          public java.lang.String getCurrentVideoId()

    - #### isSingleCameraMode

          public boolean isSingleCameraMode()

    - #### hasFrontId

          public boolean hasFrontId()

    - #### isFrontCamera

          public boolean isFrontCamera(java.lang.String cid)

    - #### isSelfDevice

          public boolean isSelfDevice(java.lang.String did)

    - #### addRender

          public void addRender(VideoRenderer render)

    - #### removeRender

          public void removeRender(VideoRenderer render)

    - #### removeRender

          @Nullable
          public VideoRenderer removeRender(java.lang.String did)

    - #### getRender

          @Nullable
          public VideoRenderer getRender(java.lang.String did)

    - #### getLocalVideoRender

          @Nullable
          public VideoRenderer getLocalVideoRender()