MediaObject Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Thing
- CreativeWork
- com.
microsoft. azure. cognitiveservices. search. newssearch. models. MediaObject
- com.
public class MediaObject extends CreativeWork
Defines a media object.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
contentUrl()
Get the contentUrl value. |
Integer |
height()
Get the height value. |
Integer |
width()
Get the width value. |
Inherited Members
Thing.alternateName()
Thing.bingId()
CreativeWork.datePublished()
Thing.description()
Identifiable.id()
Thing.image()
Thing.name()
CreativeWork.provider()
CreativeWork.thumbnailUrl()
Thing.url()
CreativeWork.video()
Response.webSearchUrl()
Method Details
contentUrl
public String contentUrl()
Get the contentUrl value.
Returns:
the contentUrl value
height
public Integer height()
Get the height value.
Returns:
the height value
width
public Integer width()
Get the width value.
Returns:
the width value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java