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
Constructors -
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.voidThe height in pixels required to display the HTML.voidThe HTML used to display the page.voidsetProviderName(String providerName) Name of the provider (Facebook)voidsetProviderUrl(String providerUrl) URL of the provider (Facebook)voidThe oEmbed resource type.voidsetVersion(String version) Always 1.0.voidThe 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/
-