BingNewsSearchAPI Interface

Definition

The interface for BingNewsSearchAPI class.

public interface BingNewsSearchAPI

Methods

acceptLanguage()

Gets Gets or sets the preferred language for the response..

bingNews()

Gets the BingNews object to access its operations.

generateClientRequestId()

Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

getAzureClient()

Gets the AzureClient used for long running operations.

longRunningOperationRetryTimeout()

Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

restClient()

Gets the REST client.

userAgent()

Gets the User-Agent header for the client.

withAcceptLanguage(String acceptLanguage)

Sets Gets or sets the preferred language for the response..

withGenerateClientRequestId(boolean generateClientRequestId)

Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

Applies to