MediaObject Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Thing
- CreativeWork
- com.
microsoft. azure. cognitiveservices. search. websearch. models. MediaObject
- com.
public class MediaObject extends CreativeWork
The MediaObject model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
contentUrl()
Get the contentUrl value. |
Integer |
height()
Get the height value. |
String |
hostPageUrl()
Get the hostPageUrl value. |
Integer |
width()
Get the width value. |
Inherited Members
Thing.bingId()
Thing.description()
Identifiable.id()
Thing.image()
Thing.name()
CreativeWork.provider()
CreativeWork.text()
CreativeWork.thumbnailUrl()
Thing.url()
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
hostPageUrl
public String hostPageUrl()
Get the hostPageUrl value.
Returns:
the hostPageUrl 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