- 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