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
OnMultipleRequestListener

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_MULTIPLE_REQUESTS

Constructors

OnMultipleRequestListener()

public OnMultipleRequestListener()

Methods

addCorrelationId( int correlationId )

public void addCorrelationId(int correlationId)

Method Parameters

correlationId

onUpdate( int remainingRequests )

onUpdate is called during multiple stream request

public abstract void onUpdate(int remainingRequests)

Method Parameters

remainingRequests
of the original request

onFinished()

public abstract void onFinished()

getSingleRpcResponseListener()

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

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.rpc.listeners.OnRPCResponseListener onReceived, onStart, onResponse
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