Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. models. Query
- com.
public class Query
Defines a search query.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayText()
Get the displayText value. |
String |
searchLink()
Get the searchLink value. |
String |
text()
Get the text value. |
Image |
thumbnail()
Get the thumbnail value. |
String |
webSearchUrl()
Get the webSearchUrl value. |
Query |
withText(String text)
Set the text value. |
Method Details
displayText
public String displayText()
Get the displayText value.
Returns:
searchLink
public String searchLink()
Get the searchLink value.
Returns:
text
public String text()
Get the text value.
Returns:
thumbnail
public ImageObject thumbnail()
Get the thumbnail value.
Returns:
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.
Returns:
withText
public Query withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for