VideoInfo.Builder

public static class VideoInfo.Builder extends Object

Builder for VideoInfo.

Public Constructor Summary

Public Method Summary

VideoInfo
build()
Builds a VideoInfo.
VideoInfo.Builder
setHdrType(int hdrType)
Sets the HDR type of the current media session.
VideoInfo.Builder
setHeight(int height)
Sets the height of the video in pixels.
VideoInfo.Builder
setWidth(int width)
Sets the width of the video in pixels.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public VideoInfo build ()

Builds a VideoInfo.

public VideoInfo.Builder setHdrType (int hdrType)

Sets the HDR type of the current media session. Valid values are defined as the HDR_TYPE_* constants in VideoInfo.

public VideoInfo.Builder setHeight (int height)

Sets the height of the video in pixels.

public VideoInfo.Builder setWidth (int width)

Sets the width of the video in pixels.