Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class OnMultipleRequestListener

Package
com.smartdevicelink.proxy.rpc.listeners

Overview

This is the listener for sending Multiple RPCs.

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.rpc.listeners.OnRPCListener UPDATE_LISTENER_TYPE_ALL_RPCS, UPDATE_LISTENER_TYPE_BASE_RPC, UPDATE_LISTENER_TYPE_PUT_FILE, UPDATE_LISTENER_TYPE_MULTIPLE_REQUESTS

Constructors

OnMultipleRequestListener()

public OnMultipleRequestListener()

Methods

addCorrelationId( int correlationid )

public void addCorrelationId(int correlationid)

Parameters

correlationid

onUpdate( int remainingRequests )

onUpdate is called during multiple stream request

public abstract void onUpdate(int remainingRequests)

Parameters

remainingRequests
of the original request

onFinished()

public abstract void onFinished()

onError( int correlationId, Result resultCode, String info )

public abstract void onError(int correlationId,Result resultCode,String info)

Parameters

correlationId
resultCode
info

getSingleRpcResponseListener()

public com.smartdevicelink.proxy.rpc.listeners.OnRPCResponseListener getSingleRpcResponseListener()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.rpc.listeners.OnRPCResponseListener onReceived, onStart, onResponse, onError
com.smartdevicelink.proxy.rpc.listeners.OnRPCListener setListenerType, getListenerType, onReceived
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section