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

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)

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