VideoInfo.Builder

  • VideoInfo.Builder is a builder class used to construct VideoInfo objects.

  • It includes methods to set the HDR type, height, and width of a video.

  • The build() method is used to create the final VideoInfo object.

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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: