docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.VideoComponent.html
Package com.google.android.exoplayer2
SimpleExoPlayerEnclosing interface:ExoPlayer[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static interfaceExoPlayer.VideoComponent
Deprecated.
Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that interface.
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.
|
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoScalingMode([@VideoScalingMode](C.VideoScalingMode.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)
Deprecated.
Use ExoPlayer.setVideoScalingMode(int) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")[@VideoScalingMode](C.VideoScalingMode.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.C.VideoScalingMode int getVideoScalingMode()
Deprecated.
Use ExoPlayer.getVideoScalingMode() instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoChangeFrameRateStrategy([@VideoChangeFrameRateStrategy](C.VideoChangeFrameRateStrategy.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
Deprecated.
Use ExoPlayer.setVideoChangeFrameRateStrategy(int) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")[@VideoChangeFrameRateStrategy](C.VideoChangeFrameRateStrategy.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int getVideoChangeFrameRateStrategy()
Deprecated.
Use ExoPlayer.getVideoChangeFrameRateStrategy() instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoFrameMetadataListener([VideoFrameMetadataListener](video/VideoFrameMetadataListener.html "interface in com.google.android.exoplayer2.video")listener)
Deprecated.
Use ExoPlayer.setVideoFrameMetadataListener(VideoFrameMetadataListener) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoFrameMetadataListener([VideoFrameMetadataListener](video/VideoFrameMetadataListener.html "interface in com.google.android.exoplayer2.video")listener)
Deprecated.
Use ExoPlayer.clearVideoFrameMetadataListener(VideoFrameMetadataListener) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setCameraMotionListener([CameraMotionListener](video/spherical/CameraMotionListener.html "interface in com.google.android.exoplayer2.video.spherical")listener)
Deprecated.
Use ExoPlayer.setCameraMotionListener(CameraMotionListener) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearCameraMotionListener([CameraMotionListener](video/spherical/CameraMotionListener.html "interface in com.google.android.exoplayer2.video.spherical")listener)
Deprecated.
Use ExoPlayer.clearCameraMotionListener(CameraMotionListener) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoSurface()
Deprecated.
Use Player.clearVideoSurface() instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoSurface(@Nullable[Surface](https://developer.android.com/reference/android/view/Surface.html "class or interface in android.view")surface)
Deprecated.
Use Player.clearVideoSurface(Surface) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoSurface(@Nullable[Surface](https://developer.android.com/reference/android/view/Surface.html "class or interface in android.view")surface)
Deprecated.
Use Player.setVideoSurface(Surface) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoSurfaceHolder(@Nullable[SurfaceHolder](https://developer.android.com/reference/android/view/SurfaceHolder.html "class or interface in android.view")surfaceHolder)
Deprecated.
Use Player.setVideoSurfaceHolder(SurfaceHolder) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoSurfaceHolder(@Nullable[SurfaceHolder](https://developer.android.com/reference/android/view/SurfaceHolder.html "class or interface in android.view")surfaceHolder)
Deprecated.
Use Player.clearVideoSurfaceHolder(SurfaceHolder) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoSurfaceView(@Nullable[SurfaceView](https://developer.android.com/reference/android/view/SurfaceView.html "class or interface in android.view")surfaceView)
Deprecated.
Use Player.setVideoSurfaceView(SurfaceView) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoSurfaceView(@Nullable[SurfaceView](https://developer.android.com/reference/android/view/SurfaceView.html "class or interface in android.view")surfaceView)
Deprecated.
Use Player.clearVideoSurfaceView(SurfaceView) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void setVideoTextureView(@Nullable[TextureView](https://developer.android.com/reference/android/view/TextureView.html "class or interface in android.view")textureView)
Deprecated.
Use Player.setVideoTextureView(TextureView) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoTextureView(@Nullable[TextureView](https://developer.android.com/reference/android/view/TextureView.html "class or interface in android.view")textureView)
Deprecated.
Use Player.clearVideoTextureView(TextureView) instead.
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")[VideoSize](video/VideoSize.html "class in com.google.android.exoplayer2.video")getVideoSize()
Deprecated.
Use Player.getVideoSize() instead.