public class BingImageSearchRequest extends Object
{@see "https://msdn.microsoft.com/en-us/library/dn760791.aspx"}
Modifier and Type | Class | Description |
---|---|---|
static class |
BingImageSearchRequest.Param<T> |
Modifier and Type | Field | Description |
---|---|---|
BingImageSearchRequest.Param<Integer> |
count |
The number of images to return in the response.
|
BingImageSearchRequest.Param<String> |
keyword |
The user's search query string.
|
BingImageSearchRequest.Param<String> |
mkt |
The market where the results come from.
|
BingImageSearchRequest.Param<Integer> |
offset |
The zero-based offset that indicates the number of images to skip before
returning images.
|
BingImageSearchRequest.Param<String> |
safeSearch |
Filter images for adult content.
|
BingImageSearchRequest.Param<String> |
size |
Filter images by size.
|
Constructor | Description |
---|---|
BingImageSearchRequest() |
public BingImageSearchRequest.Param<String> keyword
public BingImageSearchRequest.Param<Integer> count
public BingImageSearchRequest.Param<Integer> offset
public BingImageSearchRequest.Param<String> mkt
like
en-US
ja-JP
public BingImageSearchRequest.Param<String> safeSearch
public BingImageSearchRequest.Param<String> size
Small — Return images that are less than 200x200 pixels
Medium — Return images that are greater than or equal to 200x200 pixels
but less than 500x500 pixels
Large — Return images that are 500x500 pixels or larger
Wallpaper — Return wallpaper images.
All — Do not filter by size. Specifying this value is the same as not
specifying the size parameter.
You may use this parameter in conjunction with the height or width
parameters. For example, you may use height and size to request small
images that are at least 150 pixels tall.
public String toQueryString()
Copyright © 2018. All rights reserved.