Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

UrlRequest.StatusListener

public static abstract class UrlRequest.StatusListener extends Object

Listener class used with getStatus(UrlRequest.StatusListener) to receive the status of a UrlRequest.

Public Constructor Summary

Public Method Summary

abstract void
onStatus(int status)
Invoked on UrlRequest's Executor's thread when request status is obtained.

Inherited Method Summary

Public Constructors

public UrlRequest.StatusListener ()

Public Methods

public abstract void onStatus (int status)

Invoked on UrlRequest's Executor's thread when request status is obtained.

Parameters
status integer representing the status of the request. It is one of the values defined in UrlRequest.Status.