Package com.twilio.video
Class VideoContentPreferences
- java.lang.Object
-
- com.twilio.video.VideoContentPreferences
-
public class VideoContentPreferences extends java.lang.ObjectThe preferences that are used to specify the render dimensions of aRemoteVideoTrackwhen 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 booleanequals(java.lang.Object o)VideoDimensionsgetRenderDimensions()inthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-