Package com.twilio.video
Class VideoContentPreferences
- java.lang.Object
-
- com.twilio.video.VideoContentPreferences
-
public class VideoContentPreferences extends java.lang.Object
The preferences that are used to specify the render dimensions of aRemoteVideoTrack
when usingVideoContentPreferencesMode.MANUAL
.
-
-
Constructor Summary
Constructors Constructor Description VideoContentPreferences(VideoDimensions renderDimensions)
Constructs an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
VideoDimensions
getRenderDimensions()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
VideoContentPreferences
public VideoContentPreferences(@NonNull VideoDimensions renderDimensions)
Constructs an instance of this class.- Parameters:
renderDimensions
- the render dimensions to specify in theRemoteVideoTrack
.- Throws:
java.lang.NullPointerException
- if renderDimensions is null.
-
-
Method Detail
-
getRenderDimensions
@NonNull public VideoDimensions getRenderDimensions()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-