Package-level declarations
Pretty much everything that has to do with SERP providers - including the SERP provider interface itself.
Types
Link copied to clipboard
A credential.
Link copied to clipboard
class CustomHeaderJsonRequest(method: Int, url: String, jsonRequest: JSONObject?, listener: Response.Listener<JSONObject>, errorListener: Response.ErrorListener?, requestHeaders: MutableMap<String, String>? = null) : JsonObjectRequest
Link copied to clipboard
A reference SERP provider.
Link copied to clipboard
class ErrorResponseGenerator(val errorResponseListener: (ErrorResponse) -> Unit, val unknownErrorListener: Response.ErrorListener?, val convertUnknownErrors: Boolean = false) : Response.ErrorListener
Volley error listener that converts an HTTP error into an com.porg.gugal.providers.responses.ErrorResponse.
Link copied to clipboard
class GugalJsonRequest(method: Int, url: String, jsonRequest: JSONObject?, listener: Response.Listener<JSONObject>, errorResponseListener: (ErrorResponse) -> Unit, otherErrorListener: Response.ErrorListener?, extraHeaders: MutableMap<String, String>? = null) : JsonObjectRequest
Custom JSON request with Gugal header wrapper
Link copied to clipboard
data class ProviderInfo(val name: Int, val description: Int, var titleInSearchBox: Int, var requiresSetup: Boolean = false)
Information about a search engine.
Link copied to clipboard
interface SerpProvider
Allows Gugal to search the web using a search engine.