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

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)

Parameters

context
appId
routerService

Methods

onHardwareConnected( TransportType transportType )

Deprecated

public boolean onHardwareConnected(TransportType transportType)

Parameters

transportType

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

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

Parameters

transports

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

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

Parameters

record
connectedTransports

onPacketReceived( Parcelable packet )

public void onPacketReceived(Parcelable packet)

Parameters

packet

Inherited Methods

From Class Methods
com.smartdevicelink.transport.TransportBroker sendMessageToRouterService, sendMessageToRouterService, start, resetSession, stop, onServiceUnregsiteredFromRouterService, onHardwareDisconnected, onHardwareDisconnected, onHardwareConnected, onHardwareConnected, onPacketReceived, onLegacyModeEnabled, sendPacketToRouterService, getRouterService, convertAppId, enableLegacyMode, isLegacyModeEnabled, requestNewSession, 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