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

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