BingImages.BingImagesDetailsDefinitionStages.WithQuery Interface
public static interface BingImages.BingImagesDetailsDefinitionStages.WithQuery
The stage of the definition to be specify query.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withQuery(String query)
The user's search query term. |
Method Details
withQuery
public abstract BingImages.BingImagesDetailsDefinitionStages.WithExecute withQuery(String query)
The user's search query term. The term cannot be empty. The term may contain [Bing Advanced Operators](http://msdn.microsoft.com/library/ff795620.aspx). For example, to limit images to a specific domain, use the [site:](http://msdn.microsoft.com/library/ff795613.aspx) operator. To help improve relevance of an insights query (see [insightsToke* n](https://docs.microsoft.com/en-us/rest/api/cognitiveservices/bing-images-api-v7-reference\#insightstoken)), you should always include the user's query term. Use this parameter only with the Image Search API.Do not specify this parameter when calling the Trending Images API.
Parameters:
Returns:
Applies to
Azure SDK for Java