Package com.google.android.exoplayer2

## Interface ExoPlayer.VideoComponent

- All Known Implementing Classes:
    `SimpleExoPlayer`
  Enclosing interface:
    ExoPlayer

      @Deprecated
      public static interface ExoPlayer.VideoComponent

  Deprecated.
  Use `ExoPlayer`, as the `ExoPlayer.VideoComponent` methods are defined by that interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `clearCameraMotionListener​(CameraMotionListener listener)` | Deprecated. Use `ExoPlayer.clearCameraMotionListener(CameraMotionListener)` instead.
    `void` | `clearVideoFrameMetadataListener​(VideoFrameMetadataListener listener)` | Deprecated. Use `ExoPlayer.clearVideoFrameMetadataListener(VideoFrameMetadataListener)` instead.
    `void` | `clearVideoSurface()` | Deprecated. Use `Player.clearVideoSurface()` instead.
    `void` | `clearVideoSurface​(Surface surface)` | Deprecated. Use `Player.clearVideoSurface(Surface)` instead.
    `void` | `clearVideoSurfaceHolder​(SurfaceHolder surfaceHolder)` | Deprecated. Use `Player.clearVideoSurfaceHolder(SurfaceHolder)` instead.
    `void` | `clearVideoSurfaceView​(SurfaceView surfaceView)` | Deprecated. Use `Player.clearVideoSurfaceView(SurfaceView)` instead.
    `void` | `clearVideoTextureView​(TextureView textureView)` | Deprecated. Use `Player.clearVideoTextureView(TextureView)` instead.
    `@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int` | `getVideoChangeFrameRateStrategy()` | Deprecated. Use `ExoPlayer.getVideoChangeFrameRateStrategy()` instead.
    `@com.google.android.exoplayer2.C.VideoScalingMode int` | `getVideoScalingMode()` | Deprecated. Use `ExoPlayer.getVideoScalingMode()` instead.
    `VideoSize` | `getVideoSize()` | Deprecated. Use `Player.getVideoSize()` instead.
    `void` | `setCameraMotionListener​(CameraMotionListener listener)` | Deprecated. Use `ExoPlayer.setCameraMotionListener(CameraMotionListener)` instead.
    `void` | `setVideoChangeFrameRateStrategy​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)` | Deprecated. Use `ExoPlayer.setVideoChangeFrameRateStrategy(int)` instead.
    `void` | `setVideoFrameMetadataListener​(VideoFrameMetadataListener listener)` | Deprecated. Use `ExoPlayer.setVideoFrameMetadataListener(VideoFrameMetadataListener)` instead.
    `void` | `setVideoScalingMode​(@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)` | Deprecated. Use `ExoPlayer.setVideoScalingMode(int)` instead.
    `void` | `setVideoSurface​(Surface surface)` | Deprecated. Use `Player.setVideoSurface(Surface)` instead.
    `void` | `setVideoSurfaceHolder​(SurfaceHolder surfaceHolder)` | Deprecated. Use `Player.setVideoSurfaceHolder(SurfaceHolder)` instead.
    `void` | `setVideoSurfaceView​(SurfaceView surfaceView)` | Deprecated. Use `Player.setVideoSurfaceView(SurfaceView)` instead.
    `void` | `setVideoTextureView​(TextureView textureView)` | Deprecated. Use `Player.setVideoTextureView(TextureView)` instead.

- - ### Method Detail

    - #### setVideoScalingMode

          @Deprecated
          void setVideoScalingMode​(@VideoScalingMode
                                   @com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)

      Deprecated.
      Use `ExoPlayer.setVideoScalingMode(int)` instead.

    - #### getVideoScalingMode

          @Deprecated
          @VideoScalingMode
          @com.google.android.exoplayer2.C.VideoScalingMode int getVideoScalingMode()

      Deprecated.
      Use `ExoPlayer.getVideoScalingMode()` instead.

    - #### setVideoChangeFrameRateStrategy

          @Deprecated
          void setVideoChangeFrameRateStrategy​(@VideoChangeFrameRateStrategy
                                               @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)

      Deprecated.
      Use `ExoPlayer.setVideoChangeFrameRateStrategy(int)` instead.

    - #### getVideoChangeFrameRateStrategy

          @Deprecated
          @VideoChangeFrameRateStrategy
          @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int getVideoChangeFrameRateStrategy()

      Deprecated.
      Use `ExoPlayer.getVideoChangeFrameRateStrategy()` instead.

    - #### setVideoFrameMetadataListener

          @Deprecated
          void setVideoFrameMetadataListener​(VideoFrameMetadataListener listener)

      Deprecated.
      Use `ExoPlayer.setVideoFrameMetadataListener(VideoFrameMetadataListener)` instead.

    - #### clearVideoFrameMetadataListener

          @Deprecated
          void clearVideoFrameMetadataListener​(VideoFrameMetadataListener listener)

      Deprecated.
      Use `ExoPlayer.clearVideoFrameMetadataListener(VideoFrameMetadataListener)` instead.

    - #### setCameraMotionListener

          @Deprecated
          void setCameraMotionListener​(CameraMotionListener listener)

      Deprecated.
      Use `ExoPlayer.setCameraMotionListener(CameraMotionListener)` instead.

    - #### clearCameraMotionListener

          @Deprecated
          void clearCameraMotionListener​(CameraMotionListener listener)

      Deprecated.
      Use `ExoPlayer.clearCameraMotionListener(CameraMotionListener)` instead.

    - #### clearVideoSurface

          @Deprecated
          void clearVideoSurface()

      Deprecated.
      Use `Player.clearVideoSurface()` instead.

    - #### clearVideoSurface

          @Deprecated
          void clearVideoSurface​(@Nullable
                                 Surface surface)

      Deprecated.
      Use `Player.clearVideoSurface(Surface)` instead.

    - #### setVideoSurface

          @Deprecated
          void setVideoSurface​(@Nullable
                               Surface surface)

      Deprecated.
      Use `Player.setVideoSurface(Surface)` instead.

    - #### setVideoSurfaceHolder

          @Deprecated
          void setVideoSurfaceHolder​(@Nullable
                                     SurfaceHolder surfaceHolder)

      Deprecated.
      Use `Player.setVideoSurfaceHolder(SurfaceHolder)` instead.

    - #### clearVideoSurfaceHolder

          @Deprecated
          void clearVideoSurfaceHolder​(@Nullable
                                       SurfaceHolder surfaceHolder)

      Deprecated.
      Use `Player.clearVideoSurfaceHolder(SurfaceHolder)` instead.

    - #### setVideoSurfaceView

          @Deprecated
          void setVideoSurfaceView​(@Nullable
                                   SurfaceView surfaceView)

      Deprecated.
      Use `Player.setVideoSurfaceView(SurfaceView)` instead.

    - #### clearVideoSurfaceView

          @Deprecated
          void clearVideoSurfaceView​(@Nullable
                                     SurfaceView surfaceView)

      Deprecated.
      Use `Player.clearVideoSurfaceView(SurfaceView)` instead.

    - #### setVideoTextureView

          @Deprecated
          void setVideoTextureView​(@Nullable
                                   TextureView textureView)

      Deprecated.
      Use `Player.setVideoTextureView(TextureView)` instead.

    - #### clearVideoTextureView

          @Deprecated
          void clearVideoTextureView​(@Nullable
                                     TextureView textureView)

      Deprecated.
      Use `Player.clearVideoTextureView(TextureView)` instead.

    - #### getVideoSize

          @Deprecated
          VideoSize getVideoSize()

      Deprecated.
      Use `Player.getVideoSize()` instead.