Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
HttpRequestTask.HttpRequestTaskCallback

Interface HttpRequestTask.HttpRequestTaskCallback

Package
com.smartdevicelink.util

Overview

Callback interface for HTTP requests.

Methods

httpCallComplete( String response )

Called when HTTP request is successfully completed.

public void httpCallComplete(String response)

Method Parameters

response
The response to the HTTP request.

httpFailure( int statusCode )

Called when HTTP request failed.

public void httpFailure(int statusCode)

Method Parameters

statusCode
The HTTP failure code.
View on GitHub.com
Previous Section Next Section