twitter4j
Interface MediaEntity

All Superinterfaces:
Serializable, URLEntity

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.
 URL getMediaURL()
          Returns the media URL.
 URL getMediaURLHttps()
          Returns the media secure URL.
 Map<Integer,MediaEntity.Size> getSizes()
          Returns size variations of the media.
 String getType()
          Returns the media type ("photo").
 
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

URL getMediaURL()
Returns the media URL.

Returns:
the media URL

getMediaURLHttps

URL getMediaURLHttps()
Returns the media secure URL.

Returns:
the media secure URL

getSizes

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

Returns:
size variations of the media

getType

String getType()
Returns the media type ("photo").

Returns:
the media type ("photo").


Copyright © 2012. All Rights Reserved.