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

Class MultiplexUsbTransport

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.MultiplexBaseTransport

Package
com.smartdevicelink.transport

Fields

MANUFACTURER

public static final java.lang.String MANUFACTURER
Constant Value
"manufacturer"

MODEL

public static final java.lang.String MODEL
Constant Value
"model"

VERSION

public static final java.lang.String VERSION
Constant Value
"version"

URI

public static final java.lang.String URI
Constant Value
"uri"

SERIAL

public static final java.lang.String SERIAL
Constant Value
"serial"

DESCRIPTION

public static final java.lang.String DESCRIPTION
Constant Value
"description"

Inherited Fields

From Class Fields
com.smartdevicelink.transport.MultiplexBaseTransport STATE_NONE, STATE_LISTEN, STATE_CONNECTING, STATE_CONNECTED, STATE_ERROR, LOG, DEVICE_NAME, DEVICE_ADDRESS, mState, handler, transportType, transportRecord, currentlyConnectedDevice, connectedDeviceName, connectedDeviceAddress

Methods

start()

public synchronized void start()

stop( int stateToTransitionTo )

protected synchronized void stop(int stateToTransitionTo)

Parameters

stateToTransitionTo

write( byte[] out, int offset, int count )

Write to the ConnectedThread in an unsynchronized manner

public void write(byte[] out,int offset,int count)

Parameters

out
The bytes to write
offset
count

Inherited Methods

From Class Methods
com.smartdevicelink.transport.MultiplexBaseTransport setState, getAddress, getDeviceName, getTransportRecord, getState, isConnected, stop, stop, write
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section