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
MultiplexTransportConfig.TransportListener

Interface MultiplexTransportConfig.TransportListener

Package
com.smartdevicelink.transport

Overview

Callback to be used if the state of the transports needs to be monitored for any reason.

Methods

onTransportEvent( java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports, boolean audioStreamTransportAvail, boolean videoStreamTransportAvail )

Gets called whenever there is a change in the available transports for use

public void onTransportEvent(java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports,boolean audioStreamTransportAvail,boolean videoStreamTransportAvail)

Method Parameters

connectedTransports
the currently connected transports
audioStreamTransportAvail
true if there is either an audio streaming supported transport currently connected or a transport is available to connect with. False if there is no transport connected to support audio streaming and no possibility in the foreseeable future.
videoStreamTransportAvail
true if there is either a video streaming supported transport currently connected or a transport is available to connect with. False if there is no transport connected to support video streaming and no possibility in the foreseeable future.
View on GitHub.com
Previous Section Next Section