public interface

ExoPlayer.VideoComponent

 androidx.media3.exoplayer.ExoPlayer.VideoComponent

Subclasses:

SimpleExoPlayer

Summary

Methods
public voidclearCameraMotionListener(CameraMotionListener listener)

public voidclearVideoFrameMetadataListener(VideoFrameMetadataListener listener)

public voidclearVideoSurface()

public voidclearVideoSurface(Surface surface)

public voidclearVideoSurfaceHolder(SurfaceHolder surfaceHolder)

public voidclearVideoSurfaceView(SurfaceView surfaceView)

public voidclearVideoTextureView(TextureView textureView)

public intgetVideoChangeFrameRateStrategy()

public intgetVideoScalingMode()

public VideoSizegetVideoSize()

public voidsetCameraMotionListener(CameraMotionListener listener)

public voidsetVideoChangeFrameRateStrategy(int videoChangeFrameRateStrategy)

public voidsetVideoFrameMetadataListener(VideoFrameMetadataListener listener)

public voidsetVideoScalingMode(int videoScalingMode)

public voidsetVideoSurface(Surface surface)

public voidsetVideoSurfaceHolder(SurfaceHolder surfaceHolder)

public voidsetVideoSurfaceView(SurfaceView surfaceView)

public voidsetVideoTextureView(TextureView textureView)

Methods

public void setVideoScalingMode(int videoScalingMode)

Deprecated: Use ExoPlayer.setVideoScalingMode(int) instead.

public int getVideoScalingMode()

Deprecated: Use ExoPlayer.getVideoScalingMode() instead.

public void setVideoChangeFrameRateStrategy(int videoChangeFrameRateStrategy)

Deprecated: Use ExoPlayer.setVideoChangeFrameRateStrategy(int) instead.

public int getVideoChangeFrameRateStrategy()

Deprecated: Use ExoPlayer.getVideoChangeFrameRateStrategy() instead.

public void setVideoFrameMetadataListener(VideoFrameMetadataListener listener)

Deprecated: Use ExoPlayer.setVideoFrameMetadataListener(VideoFrameMetadataListener) instead.

public void clearVideoFrameMetadataListener(VideoFrameMetadataListener listener)

Deprecated: Use ExoPlayer.clearVideoFrameMetadataListener(VideoFrameMetadataListener) instead.

public void setCameraMotionListener(CameraMotionListener listener)

Deprecated: Use ExoPlayer.setCameraMotionListener(CameraMotionListener) instead.

public void clearCameraMotionListener(CameraMotionListener listener)

Deprecated: Use ExoPlayer.clearCameraMotionListener(CameraMotionListener) instead.

public void clearVideoSurface()

Deprecated: Use Player.clearVideoSurface() instead.

public void clearVideoSurface(Surface surface)

Deprecated: Use Player.clearVideoSurface(Surface) instead.

public void setVideoSurface(Surface surface)

Deprecated: Use Player.setVideoSurface(Surface) instead.

public void setVideoSurfaceHolder(SurfaceHolder surfaceHolder)

Deprecated: Use Player.setVideoSurfaceHolder(SurfaceHolder) instead.

public void clearVideoSurfaceHolder(SurfaceHolder surfaceHolder)

Deprecated: Use Player.clearVideoSurfaceHolder(SurfaceHolder) instead.

public void setVideoSurfaceView(SurfaceView surfaceView)

Deprecated: Use Player.setVideoSurfaceView(SurfaceView) instead.

public void clearVideoSurfaceView(SurfaceView surfaceView)

Deprecated: Use Player.clearVideoSurfaceView(SurfaceView) instead.

public void setVideoTextureView(TextureView textureView)

Deprecated: Use Player.setVideoTextureView(TextureView) instead.

public void clearVideoTextureView(TextureView textureView)

Deprecated: Use Player.clearVideoTextureView(TextureView) instead.

public VideoSize getVideoSize()

Deprecated: Use Player.getVideoSize() instead.