Package com.restfb.types.oembed
Class BaseOEmbed
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.oembed.BaseOEmbed
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OEmbedPage
,OEmbedPost
,OEmbedVideo
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe height in pixels required to display the HTML.getHtml()
The HTML used to display the page.Name of the provider (Facebook)URL of the provider (Facebook)getType()
The oEmbed resource type.Always 1.0.getWidth()
The width in pixels required to display the HTML.void
The height in pixels required to display the HTML.void
The HTML used to display the page.void
setProviderName
(String providerName) Name of the provider (Facebook)void
setProviderUrl
(String providerUrl) URL of the provider (Facebook)void
The oEmbed resource type.void
setVersion
(String version) Always 1.0.void
The width in pixels required to display the HTML.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
BaseOEmbed
public BaseOEmbed()
-
-
Method Details
-
getHtml
The HTML used to display the page. -
setHtml
The HTML used to display the page. -
getHeight
The height in pixels required to display the HTML. -
setHeight
The height in pixels required to display the HTML. -
getWidth
The width in pixels required to display the HTML. -
setWidth
The width in pixels required to display the HTML. -
getProviderName
Name of the provider (Facebook) -
setProviderName
Name of the provider (Facebook) -
getProviderUrl
URL of the provider (Facebook) -
setProviderUrl
URL of the provider (Facebook) -
getType
The oEmbed resource type. See https://oembed.com/. -
setType
The oEmbed resource type. See https://oembed.com/. -
getVersion
Always 1.0. See https://oembed.com/ -
setVersion
Always 1.0. See https://oembed.com/
-