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
Documentation
TransportCallback

Interface TransportCallback

Package
com.smartdevicelink.transport

Overview

This interface is used to receive callbacks from a transport class

Methods

onConnectionEstablished()

public void onConnectionEstablished()

onError()

public void onError()

onConnectionTerminated( String reason )

public void onConnectionTerminated(String reason)

Parameters

reason

onPacketReceived( SdlPacket packet )

public void onPacketReceived(SdlPacket packet)

Parameters

packet
View on GitHub.com
Previous Section Next Section