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

Interface TransportInterface

Package
com.smartdevicelink.transport
All Known Implementing Classes
com.smartdevicelink.transport.CustomTransport, com.smartdevicelink.transport.WebSocketServer

Overview

This interface defines the basic methods that a transport must implement

Methods

start()

public void start()

stop()

public void stop()

write( SdlPacket packet )

public void write(SdlPacket packet)

Parameters

packet

setCallback( TransportCallback callback )

public void setCallback(TransportCallback callback)

Parameters

callback

getTransportRecord()

public com.smartdevicelink.transport.utl.TransportRecord getTransportRecord()
View on GitHub.com
Previous Section Next Section