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
AbstractPacketizer

Class AbstractPacketizer

Hierarchy

java.lang.Object

Package
com.smartdevicelink.streaming
All Known Subclasses
com.smartdevicelink.streaming.video.RTPH264Packetizer, com.smartdevicelink.streaming.StreamPacketizer

Fields

_streamListener

protected com.smartdevicelink.streaming.IStreamListener _streamListener

_rpcSessionID

protected byte _rpcSessionID

_serviceType

protected com.smartdevicelink.protocol.enums.SessionType _serviceType

_session

protected com.smartdevicelink.session.SdlSession _session

is

protected java.io.InputStream is

bufferSize

protected int bufferSize

buffer

protected byte buffer

_request

protected com.smartdevicelink.proxy.RPCRequest _request

_wiproVersion

protected com.smartdevicelink.util.Version _wiproVersion

Constructors

AbstractPacketizer( IStreamListener streamListener, InputStream is, SessionType sType, byte rpcSessionID, SdlSession session )

public AbstractPacketizer(IStreamListener streamListener,InputStream is,SessionType sType,byte rpcSessionID,SdlSession session)

Constructor Parameters

streamListener
is
sType
rpcSessionID
session

AbstractPacketizer( IStreamListener streamListener, InputStream is, RPCRequest request, SessionType sType, byte rpcSessionID, Version protocolVersion, SdlSession session )

public AbstractPacketizer(IStreamListener streamListener,InputStream is,RPCRequest request,SessionType sType,byte rpcSessionID,Version protocolVersion,SdlSession session)

Constructor Parameters

streamListener
is
request
sType
rpcSessionID
protocolVersion
session

Methods

start()

public abstract void start() throws java.io.IOException

Throws

  • java.io.IOException

stop()

public abstract void stop()

pause()

public abstract void pause()

resume()

public abstract void resume()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section