Class BaseSubManager
Hierarchy
java.lang.Object
- Package
- com.smartdevicelink.managers
- All Known Subclasses
-
com.smartdevicelink.managers.audio.AudioStreamManager,
com.smartdevicelink.managers.screen.choiceset.ChoiceSetManager,
com.smartdevicelink.managers.file.FileManager,
com.smartdevicelink.managers.lockscreen.LockScreenManager,
com.smartdevicelink.managers.screen.menu.MenuManager,
com.smartdevicelink.managers.permission.PermissionManager,
com.smartdevicelink.managers.screen.ScreenManager,
com.smartdevicelink.managers.video.VideoStreamManager,
com.smartdevicelink.managers.screen.menu.VoiceCommandManager
Overview
BaseSubManager
Note: This class is extended by SubManagers
It is broken down to these areas:
1.
Quick Jump
- Fields
-
- Constructors
-
- Methods
-
Fields
SETTING_UP
public static final int SETTING_UP
READY
public static final int READY
- Constant Value
- 48
LIMITED
public static final int LIMITED
- Constant Value
- 80
SHUTDOWN
public static final int SHUTDOWN
- Constant Value
- 128
ERROR
public static final int ERROR
- Constant Value
- 192
internalInterface
protected final com.smartdevicelink.managers.ISdl internalInterface
Constructors
BaseSubManager(
ISdl internalInterface
)
public BaseSubManager(ISdl internalInterface)
Constructor Parameters
- internalInterface
Methods
start(
CompletionListener listener
)
Starts up a BaseSubManager, and calls provided callback once BaseSubManager is done setting up or failed setup.
public void start(CompletionListener listener)
Method Parameters
- listener
- CompletionListener that is called once the BaseSubManager's state is READY, LIMITED, or ERROR
dispose()
Called when manager is being torn down
transitionToState(
int state
)
protected void transitionToState(int state)
Method Parameters
- state
handleTransportUpdated(
java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports,
boolean audioStreamTransportAvail,
boolean videoStreamTransportAvail
)
protected void handleTransportUpdated(java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports,boolean audioStreamTransportAvail,boolean videoStreamTransportAvail)
Method Parameters
- connectedTransports
- audioStreamTransportAvail
- videoStreamTransportAvail
onTransportUpdate(
java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports,
boolean audioStreamTransportAvail,
boolean videoStreamTransportAvail
)
Transport status has been updated
protected void onTransportUpdate(java.util.List<com.smartdevicelink.transport.utl.TransportRecord> connectedTransports,boolean audioStreamTransportAvail,boolean videoStreamTransportAvail)
Method Parameters
- connectedTransports
- currently connected transports
- audioStreamTransportAvail
- if there is a transport that could be used to carry the
audio service
- videoStreamTransportAvail
- if there is a transport that could be used to carry the
video service
Inherited Methods
From Class |
Methods |
java.lang.Object
|
getClass,
hashCode,
equals,
clone,
toString,
notify,
notifyAll,
wait,
wait,
wait,
finalize
|
View on GitHub.com