public static class ReadonlyEmbed.EmbedVideo
extends java.lang.Object
implements org.json.JSONString
ReadonlyEmbed.getVideo()| Constructor and Description |
|---|
EmbedVideo(@NotNull java.lang.String url,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
The height of this video
|
@NotNull java.lang.String |
getUrl()
The URL fot this video
|
int |
getWidth()
The width of this video
|
java.lang.String |
toJSONString() |
java.lang.String |
toString()
JSON representation of this video
|
public EmbedVideo(@NotNull
@NotNull java.lang.String url,
int width,
int height)
@NotNull public @NotNull java.lang.String getUrl()
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toJSONString()
toJSONString in interface org.json.JSONString