java.lang.Object
com.smartdevicelink.session.BaseSdlSession
public SdlSession(ISdlSessionListener listener,MultiplexTransportConfig config)
public SdlSession(ISdlSessionListener listener,TCPTransportConfig config)
Sets a callback that is triggered when there are no audio output methods available. If this is set then the caller of this method will be responsible for shutting the session down.
public void setMediaStreamingStatusCallback(MediaStreamingStatus.Callback mediaStreamingStatusCallback)
protected com.smartdevicelink.protocol.SdlProtocolBase getSdlProtocolImplementation()
public void startSession() throws com.smartdevicelink.exception.SdlException
public com.smartdevicelink.transport.enums.TransportType getCurrentTransportType()
public void shutdown(String info)
Get the current protocol version used by this session
public com.smartdevicelink.util.Version getProtocolVersion()
public void onServiceStarted(SdlPacket packet,SessionType serviceType,int sessionID,Version version,boolean isEncrypted)
public void onServiceEnded(SdlPacket packet,SessionType serviceType,int sessionID)
public void onServiceError(SdlPacket packet,SessionType serviceType,int sessionID,String error)
public void onAuthTokenReceived(String authToken)
From Class | Methods |
---|---|
com.smartdevicelink.session.BaseSdlSession | getSdlProtocolImplementation, getMtu, getMtu, close, startService, endService, startSession, sendMessage, getCurrentTransportType, getIsConnected, getProtocolVersion, getTransportConfig, setSdlSecurity, processControlService, extractSystemInfo, isServiceProtected, addServiceListener, removeServiceListener, getServiceListeners, setDesiredVideoParams, getAcceptedVideoParams, onProtocolMessageReceived, onServiceStarted, onServiceEnded, onServiceError, onProtocolError, getSessionId, shutdown, onTransportDisconnected, getSdlSecurity, getDesiredVideoParams, setAcceptedVideoParams, onAuthTokenReceived, onSecurityInitialized, isTransportForServiceAvailable, getActiveTransports |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |