ExoPlayer.VideoComponent


@UnstableApi
interface ExoPlayer.VideoComponent

Known direct subclasses
SimpleExoPlayer

This class is deprecated.

Use ExoPlayer instead.


Summary

Public functions

Unit

This function is deprecated.

Use clearCameraMotionListener instead.

Unit

This function is deprecated.

Use clearVideoFrameMetadataListener instead.

Unit

This function is deprecated.

Use clearVideoSurface instead.

Unit

This function is deprecated.

Use clearVideoSurface instead.

Unit

This function is deprecated.

Use clearVideoSurfaceHolder instead.

Unit

This function is deprecated.

Use clearVideoSurfaceView instead.

Unit

This function is deprecated.

Use clearVideoTextureView instead.

Int

This function is deprecated.

Use getVideoChangeFrameRateStrategy instead.

Int

This function is deprecated.

Use getVideoScalingMode instead.

VideoSize!

This function is deprecated.

Use getVideoSize instead.

Unit

This function is deprecated.

Use setCameraMotionListener instead.

Unit
setVideoChangeFrameRateStrategy(
    @C.VideoChangeFrameRateStrategy videoChangeFrameRateStrategy: Int
)

This function is deprecated.

Use setVideoChangeFrameRateStrategy instead.

Unit

This function is deprecated.

Use setVideoFrameMetadataListener instead.

Unit

This function is deprecated.

Use setVideoScalingMode instead.

Unit

This function is deprecated.

Use setVideoSurface instead.

Unit

This function is deprecated.

Use setVideoSurfaceHolder instead.

Unit

This function is deprecated.

Use setVideoSurfaceView instead.

Unit

This function is deprecated.

Use setVideoTextureView instead.

Public functions

clearCameraMotionListener

fun clearCameraMotionListener(listener: CameraMotionListener!): Unit

clearVideoFrameMetadataListener

fun clearVideoFrameMetadataListener(listener: VideoFrameMetadataListener!): Unit

clearVideoSurface

fun clearVideoSurface(): Unit

clearVideoSurface

fun clearVideoSurface(surface: Surface?): Unit

clearVideoSurfaceHolder

fun clearVideoSurfaceHolder(surfaceHolder: SurfaceHolder?): Unit

clearVideoSurfaceView

fun clearVideoSurfaceView(surfaceView: SurfaceView?): Unit

clearVideoTextureView

fun clearVideoTextureView(textureView: TextureView?): Unit

getVideoChangeFrameRateStrategy

@C.VideoChangeFrameRateStrategy
fun getVideoChangeFrameRateStrategy(): Int

getVideoScalingMode

@C.VideoScalingMode
fun getVideoScalingMode(): Int

getVideoSize

fun getVideoSize(): VideoSize!

setCameraMotionListener

fun setCameraMotionListener(listener: CameraMotionListener!): Unit

setVideoChangeFrameRateStrategy

fun setVideoChangeFrameRateStrategy(
    @C.VideoChangeFrameRateStrategy videoChangeFrameRateStrategy: Int
): Unit

setVideoFrameMetadataListener

fun setVideoFrameMetadataListener(listener: VideoFrameMetadataListener!): Unit

setVideoScalingMode

fun setVideoScalingMode(@C.VideoScalingMode videoScalingMode: Int): Unit

setVideoSurface

fun setVideoSurface(surface: Surface?): Unit

setVideoSurfaceHolder

fun setVideoSurfaceHolder(surfaceHolder: SurfaceHolder?): Unit

setVideoSurfaceView

fun setVideoSurfaceView(surfaceView: SurfaceView?): Unit

setVideoTextureView

fun setVideoTextureView(textureView: TextureView?): Unit