twitter4j
Interface MediaEntity

All Superinterfaces:
java.io.Serializable, URLEntity
All Known Implementing Classes:
MediaEntityJSONImpl

public interface MediaEntity
extends URLEntity

Since:
Twitter4J 2.2.3
Author:
Yusuke Yamamoto - yusuke at mac.com

Nested Class Summary
static interface MediaEntity.Size
           
 
Method Summary
 long getId()
          Returns the id of the media.
 java.net.URL getMediaURL()
          Returns the media URL.
 java.net.URL getMediaURLHttps()
          Returns the media secure URL.
 java.util.Map<java.lang.Integer,MediaEntity.Size> getSizes()
          Returns size variations of the media.
 
Methods inherited from interface twitter4j.URLEntity
getDisplayURL, getEnd, getExpandedURL, getStart, getURL
 

Method Detail

getId

long getId()
Returns the id of the media.

Returns:
the id of the media

getMediaURL

java.net.URL getMediaURL()
Returns the media URL.

Returns:
the media URL

getMediaURLHttps

java.net.URL getMediaURLHttps()
Returns the media secure URL.

Returns:
the media secure URL

getSizes

java.util.Map<java.lang.Integer,MediaEntity.Size> getSizes()
Returns size variations of the media.

Returns:
size variations of the media