パッケージ twitter4j.v1
インタフェース OEmbed
- すべてのスーパーインタフェース:
Serializable
,TwitterResponse
- 導入されたバージョン:
- Twitter4J 3.0.2
- 関連項目:
-
ネストされたクラスの概要
インタフェースから継承されたネストされたクラス/インタフェース twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
メソッドの概要
修飾子とタイプメソッド説明The name of the author/owner of the resource.A URL for the author/owner of the resource.long
The suggested cache lifetime for this resource, in seconds.getHtml()
The HTML required to display the resource.getURL()
The url of the resource provider.
The source URL of the image.The oEmbed version number.int
getWidth()
The width in pixels of the image specified in the url parameter.インタフェースから継承されたメソッド twitter4j.TwitterResponse
getAccessLevel, getRateLimitStatus
-
メソッドの詳細
-
getHtml
String getHtml()The HTML required to display the resource. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities. The markup should be valid XHTML 1.0 Basic.- 戻り値:
- The HTML required to display the resource.
-
getAuthorName
String getAuthorName()The name of the author/owner of the resource.- 戻り値:
- The name of the author/owner of the resource.
-
getURL
String getURL()The url of the resource provider.
The source URL of the image. Consumers should be able to insert this URL into an <img> element. Only HTTP and HTTPS URLs are valid.- 戻り値:
- The url of the resource provider.
-
getVersion
String getVersion()The oEmbed version number.- 戻り値:
- The oEmbed version number.
-
getCacheAge
long getCacheAge()The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.- 戻り値:
- The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.
-
getAuthorURL
String getAuthorURL()A URL for the author/owner of the resource.- 戻り値:
- A URL for the author/owner of the resource.
-
getWidth
int getWidth()The width in pixels of the image specified in the url parameter.- 戻り値:
- The width in pixels of the image specified in the url parameter.
-