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 w,
int h)
Constructs a Size object, to be used when setting the preferred
resolution using the
SubscriberKit.setPreferredResolution(VideoUtils.Size
preferredResolution) method. |
Size(VideoUtils.Size p)
Constructs a new Size object, based on the dimensions of an existing
Size object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(int w,
int h)
Checks to see if the Size object matches the specified height
and width.
|
boolean |
equals(java.lang.Object o)
Checks to see if this Size object has the same dimensions as the
Size object passed in.
|
void |
set(int w,
int h)
Changes the dimensions of the Size object.
|
void |
set(VideoUtils.Size d)
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 w, int h)
SubscriberKit.setPreferredResolution(VideoUtils.Size
preferredResolution)
method.w
- The width, in pixels.h
- The hieght, in pixels.public Size(VideoUtils.Size p)
p
- The Size object to be duplicated.public final void set(int w, int h)
w
- The width, in pixels.h
- The hieght, in pixels.public final void set(VideoUtils.Size d)
d
- The Size object to match the dimensions to.public final boolean equals(int w, int h)
w
- The width, in pixels.h
- The hieght, in pixels.public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- An object to test for equality.