AI-generated Key Takeaways
-
VideoInfo.Builderis a builder class used to constructVideoInfoobjects. -
It includes methods to set the HDR type, height, and width of a video.
-
The
build()method is used to create the finalVideoInfoobject.
Builder for VideoInfo.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| 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.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.