ExoPlayer.VideoComponent


@UnstableApi
public interface ExoPlayer.VideoComponent

Known direct subclasses
SimpleExoPlayer

This class is deprecated.

Use ExoPlayer instead.


Summary

Public methods

abstract void

This method is deprecated.

Use clearCameraMotionListener instead.

abstract void

This method is deprecated.

Use clearVideoFrameMetadataListener instead.

abstract void

This method is deprecated.

Use clearVideoSurface instead.

abstract void

This method is deprecated.

Use clearVideoSurface instead.

abstract void

This method is deprecated.

Use clearVideoSurfaceHolder instead.

abstract void

This method is deprecated.

Use clearVideoSurfaceView instead.

abstract void

This method is deprecated.

Use clearVideoTextureView instead.

abstract int

This method is deprecated.

Use getVideoChangeFrameRateStrategy instead.

abstract int

This method is deprecated.

Use getVideoScalingMode instead.

abstract VideoSize

This method is deprecated.

Use getVideoSize instead.

abstract void

This method is deprecated.

Use setCameraMotionListener instead.

abstract void
setVideoChangeFrameRateStrategy(
    @C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy
)

This method is deprecated.

Use setVideoChangeFrameRateStrategy instead.

abstract void

This method is deprecated.

Use setVideoFrameMetadataListener instead.

abstract void
setVideoScalingMode(@C.VideoScalingMode int videoScalingMode)

This method is deprecated.

Use setVideoScalingMode instead.

abstract void

This method is deprecated.

Use setVideoSurface instead.

abstract void

This method is deprecated.

Use setVideoSurfaceHolder instead.

abstract void

This method is deprecated.

Use setVideoSurfaceView instead.

abstract void

This method is deprecated.

Use setVideoTextureView instead.

Public methods

clearCameraMotionListener

abstract void clearCameraMotionListener(CameraMotionListener listener)

clearVideoFrameMetadataListener

abstract void clearVideoFrameMetadataListener(VideoFrameMetadataListener listener)

clearVideoSurface

abstract void clearVideoSurface()

clearVideoSurface

abstract void clearVideoSurface(@Nullable Surface surface)

clearVideoSurfaceHolder

abstract void clearVideoSurfaceHolder(@Nullable SurfaceHolder surfaceHolder)

clearVideoSurfaceView

abstract void clearVideoSurfaceView(@Nullable SurfaceView surfaceView)

clearVideoTextureView

abstract void clearVideoTextureView(@Nullable TextureView textureView)

getVideoChangeFrameRateStrategy

@C.VideoChangeFrameRateStrategy
abstract int getVideoChangeFrameRateStrategy()

getVideoScalingMode

@C.VideoScalingMode
abstract int getVideoScalingMode()

getVideoSize

abstract VideoSize getVideoSize()

setCameraMotionListener

abstract void setCameraMotionListener(CameraMotionListener listener)

setVideoChangeFrameRateStrategy

abstract void setVideoChangeFrameRateStrategy(
    @C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy
)

setVideoFrameMetadataListener

abstract void setVideoFrameMetadataListener(VideoFrameMetadataListener listener)

setVideoScalingMode

abstract void setVideoScalingMode(@C.VideoScalingMode int videoScalingMode)

setVideoSurface

abstract void setVideoSurface(@Nullable Surface surface)

setVideoSurfaceHolder

abstract void setVideoSurfaceHolder(@Nullable SurfaceHolder surfaceHolder)

setVideoSurfaceView

abstract void setVideoSurfaceView(@Nullable SurfaceView surfaceView)

setVideoTextureView

abstract void setVideoTextureView(@Nullable TextureView textureView)