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
TransportManagerBase.TransportEventListener

Interface TransportManagerBase.TransportEventListener

Package
com.smartdevicelink.transport

Methods

onPacketReceived( SdlPacket packet )

Called to indicate and deliver a packet received from transport

public void onPacketReceived(SdlPacket packet)

Method 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)

Method 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)

Method Parameters

info
type
connectedTransports

onError( String info )

public void onError(String info)

Method 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)

Method Parameters

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