Public Member Functions
org.xbmc.android.jsonrpc.io.ApiCallback< T > Interface Reference

List of all members.

Public Member Functions

abstract void onError (int code, String message, String hint)
abstract void onResponse (AbstractCall< T > call)

Detailed Description

Implementing classes are called with the result of an API call.

Use the ConnectionManager to initiate API calls by running the ConnectionManager#call(AbstractCall, ApiCallback) method.

Author:
freezy <freezy@xbmc.org>

Definition at line 34 of file ApiCallback.java.


Member Function Documentation

abstract void org.xbmc.android.jsonrpc.io.ApiCallback< T >.onError ( int  code,
String  message,
String  hint 
) [pure virtual]

An error has occurred.

Parameters:
messageTranslated error message
messageTranslated error hint
abstract void org.xbmc.android.jsonrpc.io.ApiCallback< T >.onResponse ( AbstractCall< T call) [pure virtual]

A successful response has been returned by JSON-RPC and was serialized into our model.

Use AbstractCall#getResult() or AbstractCall#getResults() in order to obtain the result of the API call.

Parameters:
callOriginal API call containing the response.

The documentation for this interface was generated from the following file:


smarthome_media_kodi_driver
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Thu Jun 6 2019 21:03:51