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

Interface TransportManager.TransportEventListener

Package
com.smartdevicelink.transport

Methods

onPacketReceived( SdlPacket packet )

Called to indicate and deliver a packet received from transport

public void onPacketReceived(SdlPacket packet)

Parameters

packet

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

Called to indicate that transport connection was established

public void onTransportConnected(java.util.List<com.smartdevicelink.transport.utl.TransportRecord> transports)

Parameters

transports

onTransportDisconnected( String info, TransportRecord type, java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports )

Called to indicate that transport was disconnected (by either side)

public void onTransportDisconnected(String info,TransportRecord type,java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports)

Parameters

info
type
connectedTransports

onError( String info )

public void onError(String info)

Parameters

info

onLegacyModeEnabled( String info )

Called when the transport manager has determined it needs to move towards a legacy style transport connection. It will always be bluetooth.

public boolean onLegacyModeEnabled(String info)

Parameters

info
simple info string about the situation
View on GitHub.com
Previous Section Next Section