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
TransportManager.TransportBrokerImpl

Class TransportManager.TransportBrokerImpl

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.TransportBroker

Package
com.smartdevicelink.transport

Constructors

TransportBrokerImpl( Context context, String appId, ComponentName routerService )

public TransportBrokerImpl(Context context,String appId,ComponentName routerService)

Constructor Parameters

context
appId
routerService

Methods

onHardwareConnected( java.util.List<com.smartdevicelink.transport.utl.TransportRecord> transports )

public synchronized boolean onHardwareConnected(java.util.List<com.smartdevicelink.transport.utl.TransportRecord> transports)

Method Parameters

transports

onHardwareDisconnected( TransportRecord record, java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports )

public synchronized void onHardwareDisconnected(TransportRecord record,java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports)

Method Parameters

record
connectedTransports

onLegacyModeEnabled()

public synchronized void onLegacyModeEnabled()

onPacketReceived( Parcelable packet )

public void onPacketReceived(Parcelable packet)

Method Parameters

packet

stop()

public synchronized void stop()

Inherited Methods

From Class Methods
com.smartdevicelink.transport.TransportBroker sendMessageToRouterService, sendMessageToRouterService, start, resetSession, stop, onServiceUnregsiteredFromRouterService, onHardwareDisconnected, onHardwareConnected, onPacketReceived, onLegacyModeEnabled, getRouterServiceVersion, sendPacketToRouterService, getRouterService, convertAppId, enableLegacyMode, isLegacyModeEnabled, requestNewSession, requestSecondaryTransportConnection, removeSession
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section