public interface VideoDefinition
Core.setPreferredVideoDefinition(org.linphone.core.VideoDefinition)
method. Modifier and Type | Method and Description |
---|---|
VideoDefinition |
clone()
Clone a video definition.
|
boolean |
equals(VideoDefinition videoDefinition2)
Tells whether two
VideoDefinition objects are equal (the widths and theheights are the same but can be switched). |
int |
getHeight()
Get the height of the video definition.
|
java.lang.String |
getName()
Get the name of the video definition.
|
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
getWidth()
Get the width of the video definition.
|
boolean |
isUndefined()
Tells whether a
VideoDefinition is undefined. |
void |
setDefinition(int width,
int height)
Set the width and the height of the video definition.
|
void |
setHeight(int height)
Set the height of the video definition.
|
void |
setName(java.lang.String name)
Set the name of the video definition.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
void |
setWidth(int width)
Set the width of the video definition.
|
boolean |
strictEquals(VideoDefinition videoDefinition2)
Tells whether two
VideoDefinition objects are strictly equal (thewidths are the same and the heights are the same). |
java.lang.String |
toString() |
int getHeight()
void setHeight(int height)
height
- The height of the video definition boolean isUndefined()
VideoDefinition
is@Nullable java.lang.String getName()
void setName(@Nullable java.lang.String name)
name
- The name of the video definition int getWidth()
void setWidth(int width)
width
- The width of the video definition @NonNull VideoDefinition clone()
boolean equals(@NonNull VideoDefinition videoDefinition2)
VideoDefinition
objects are equal (the widths and thevideoDefinition2
- VideoDefinition
object VideoDefinition
objectsvoid setDefinition(int width, int height)
width
- The width of the video definition height
- The height of the video definition boolean strictEquals(@NonNull VideoDefinition videoDefinition2)
VideoDefinition
objects are strictly equal (thevideoDefinition2
- VideoDefinition
object VideoDefinition
objectsvoid setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object