public static class MessageEmbed.VideoInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected java.lang.String |
url |
protected int |
width |
Constructor and Description |
---|
VideoInfo(java.lang.String url,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
The height of the video.
This usually isn't the actual video height, but instead the starting embed window size. Basically: Don't rely on this to represent the actual video's quality or size. |
java.lang.String |
getUrl()
The url of the video.
|
int |
getWidth()
The width of the video.
This usually isn't the actual video width, but instead the starting embed window size. Basically: Don't rely on this to represent the actual video's quality or size. |
protected final java.lang.String url
protected final int width
protected final int height
public java.lang.String getUrl()
public int getWidth()
public int getHeight()