public interface OEmbed
OEmbedProvider from passed resource URL.| Modifier and Type | Interface and Description |
|---|---|
static interface |
OEmbed.Type
Standard oEmbed types.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorName()
The name of the author/owner of the resource.
|
String |
getAuthorUrl()
A URL for the author/owner of the resource.
|
Long |
getCacheAge()
The suggested cache lifetime for this resource, in seconds.
|
String |
getDescription()
Description
|
Integer |
getHeight()
The height in pixels of the image specified in the url parameter.
|
String |
getHtml()
The HTML required to embed a video player.
|
String |
getProviderName()
The name of the resource provider.
|
String |
getProviderUrl()
The url of the resource provider.
|
Integer |
getThumbnailHeight()
The height of the optional thumbnail.
|
String |
getThumbnailUrl()
A URL to a thumbnail image representing the resource.
|
Integer |
getThumbnailWidth()
The width of the optional thumbnail.
|
String |
getTitle()
A text title describing the resource.
|
String |
getType()
The resource type.
|
String |
getUrl()
The source URL of the image.
|
String |
getVersion()
The oEmbed version number.
|
Integer |
getWidth()
The width in pixels of the image specified in the url parameter.
|
boolean |
hasDescription()
Returns true if oEmbed has description.
|
boolean |
hasHtml()
Returns true if oEmbed has html.
|
boolean |
hasThumbnail()
Returns true if oEmbed has thumbnail.
|
boolean |
hasTitle()
Returns true if oEmbed has title.
|
String getAuthorName()
String getAuthorUrl()
Long getCacheAge()
String getDescription()
Integer getHeight()
String getHtml()
String getProviderName()
String getProviderUrl()
Integer getThumbnailHeight()
String getThumbnailUrl()
Integer getThumbnailWidth()
String getTitle()
String getType()
String getUrl()
String getVersion()
Integer getWidth()
boolean hasDescription()
boolean hasHtml()
boolean hasThumbnail()
boolean hasTitle()
Copyright © 2017. All rights reserved.