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
MultiplexUsbTransport

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, ERROR_REASON_KEY, REASON_SPP_ERROR, REASON_NONE, LOG, DEVICE_NAME, DEVICE_ADDRESS, mState, handler, transportType, transportRecord, connectedDeviceName, connectedDeviceAddress

Methods

start()

public synchronized void start()

stop( int stateToTransitionTo )

protected synchronized void stop(int stateToTransitionTo)

Method 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)

Method Parameters

out
The bytes to write
offset
count

Inherited Methods

From Class Methods
com.smartdevicelink.transport.MultiplexBaseTransport setState, setState, getAddress, getDeviceName, getTransportRecord, getState, isConnected, stop, 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