public static class VideoUtils.Size
extends java.lang.Object
SubscriberKit.setPreferredResolution(VideoUtils.Size
preferredResolution)
method.Modifier and Type | Field and Description |
---|---|
int |
height
The height, in pixels.
|
int |
width
The width, in pixels.
|
Constructor and Description |
---|
Size() |
Size(int width,
int height)
Constructs a Size object, to be used when setting the preferred
resolution using the
SubscriberKit.setPreferredResolution(VideoUtils.Size
preferredResolution) method. |
Size(VideoUtils.Size size)
Constructs a new Size object, based on the dimensions of an existing
Size object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(int width,
int height)
Checks to see if the Size object matches the specified height
and width.
|
boolean |
equals(java.lang.Object obj)
Checks to see if this Size object has the same dimensions as the
Size object passed in.
|
void |
set(int width,
int height)
Changes the dimensions of the Size object.
|
void |
set(VideoUtils.Size size)
Changes the dimensions of the Size object to match the dimensions
of an existing Size object.
|
public int width
SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution)
method again to set a new prefered resolution.public int height
SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution)
method again to set a new prefered resolution.public Size()
public Size(int width, int height)
SubscriberKit.setPreferredResolution(VideoUtils.Size
preferredResolution)
method.width
- The width, in pixels.height
- The hieght, in pixels.public Size(VideoUtils.Size size)
size
- The Size object to be duplicated.public final void set(int width, int height)
width
- The width, in pixels.height
- The hieght, in pixels.public final void set(VideoUtils.Size size)
size
- The Size object to match the dimensions to.public final boolean equals(int width, int height)
width
- The width, in pixels.height
- The hieght, in pixels.public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- An object to test for equality.