Back to Exoplayer

ExoPlayer.VideoComponent (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/ExoPlayer.VideoComponent.html

latest13.0 KB
Original Source

Package com.google.android.exoplayer2

Interface ExoPlayer.VideoComponent

  • All Known Implementing Classes: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.

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](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.

- 

getVideoScalingMode

[@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.

- 

setVideoChangeFrameRateStrategy

[@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.

- 

getVideoChangeFrameRateStrategy

[@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.

- 

setVideoFrameMetadataListener

[@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.

- 

clearVideoFrameMetadataListener

[@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.

- 

setCameraMotionListener

[@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.

- 

clearCameraMotionListener

[@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.

- 

clearVideoSurface

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")void clearVideoSurface()

Deprecated. Use Player.clearVideoSurface() instead.

- 

clearVideoSurface

[@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.

- 

setVideoSurface

[@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.

- 

setVideoSurfaceHolder

[@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.

- 

clearVideoSurfaceHolder

[@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.

- 

setVideoSurfaceView

[@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.

- 

clearVideoSurfaceView

[@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.

- 

setVideoTextureView

[@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.

- 

clearVideoTextureView

[@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.

- 

getVideoSize

[@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.