public interface MediaEntity extends URLEntity
Modifier and Type | Interface and Description |
---|---|
static interface |
MediaEntity.Size |
Modifier and Type | Method and Description |
---|---|
long |
getId()
Returns the id of the media.
|
String |
getMediaURL()
Returns the media URL.
|
String |
getMediaURLHttps()
Returns the media secure URL.
|
Map<Integer,MediaEntity.Size> |
getSizes()
Returns size variations of the media.
|
String |
getType()
Returns the media type ("photo", "video", "animated_gif").
|
getDisplayURL, getEnd, getExpandedURL, getStart, getText, getURL
long getId()
String getMediaURL()
String getMediaURLHttps()
Map<Integer,MediaEntity.Size> getSizes()
String getType()
Copyright © 2016. All rights reserved.