java.lang.Object
public SdlManager()
protected void initialize()
Get the current state for the SdlManager
public int getState()
protected void transitionToState(int state)
public void dispose()
Gets the PermissionManager.
Note: PermissionManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.permission.PermissionManager getPermissionManager()
Gets the FileManager.
Note: FileManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.file.FileManager getFileManager()
Gets the VideoStreamManager.
The VideoStreamManager returned will only be not null if the registered app type is
either NAVIGATION or PROJECTION. Once the VideoStreamManager is retrieved, its start()
method will need to be called before use.
Note: VideoStreamManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.video.VideoStreamManager getVideoStreamManager()
Gets the AudioStreamManager.
The AudioStreamManager returned will only be not null if the registered app type is
either NAVIGATION or PROJECTION. Once the AudioStreamManager is retrieved, its start()
method will need to be called before use.
Note: AudioStreamManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.audio.AudioStreamManager getAudioStreamManager()
Gets the ScreenManager.
Note: ScreenManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.screen.ScreenManager getScreenManager()
Gets the LockScreenManager.
Note: LockScreenManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.managers.lockscreen.LockScreenManager getLockScreenManager()
Gets the SystemCapabilityManager.
Note: SystemCapabilityManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.
public com.smartdevicelink.proxy.SystemCapabilityManager getSystemCapabilityManager()
protected java.lang.String getAppName()
protected java.lang.String getAppId()
protected java.lang.String getShortAppName()
protected com.smartdevicelink.proxy.rpc.enums.Language getHmiLanguage()
protected com.smartdevicelink.proxy.rpc.TemplateColorScheme getDayColorScheme()
protected com.smartdevicelink.proxy.rpc.TemplateColorScheme getNightColorScheme()
protected java.util.Vector getAppTypes()
protected java.util.Vector getVrSynonyms()
protected java.util.Vector getTtsChunks()
protected com.smartdevicelink.transport.BaseTransportConfig getTransport()
protected com.smartdevicelink.managers.lockscreen.LockScreenConfig getLockScreenConfig()
Send RPC Message
Note: Only takes type of RPCRequest for now, notifications and responses will be thrown out
public void sendRPC(RPCMessage message)
Takes a list of RPCMessages and sends it to SDL in a synchronous fashion. Responses are captured through callback on OnMultipleRequestListener.
For sending requests asynchronously, use sendRequests
NOTE: This will override any listeners on individual RPCs
ADDITIONAL NOTE: This only takes the type of RPCRequest for now, notifications and responses will be thrown out
public void sendSequentialRPCs(java.util.List<? extends com.smartdevicelink.proxy.RPCMessage> rpcs,OnMultipleRequestListener listener)
Takes a list of RPCMessages and sends it to SDL. Responses are captured through callback on OnMultipleRequestListener.
For sending requests synchronously, use sendSequentialRPCs
NOTE: This will override any listeners on individual RPCs
ADDITIONAL NOTE: This only takes the type of RPCRequest for now, notifications and responses will be thrown out
public void sendRPCs(java.util.List<? extends com.smartdevicelink.proxy.RPCMessage> rpcs,OnMultipleRequestListener listener)
Add an OnRPCNotificationListener
public void addOnRPCNotificationListener(FunctionID notificationId,OnRPCNotificationListener listener)
Remove an OnRPCNotificationListener
public void removeOnRPCNotificationListener(FunctionID notificationId,OnRPCNotificationListener listener)
Starts up a SdlManager, and calls provided callback called once all BaseSubManagers are done setting up
public void start()
protected void setProxy(com.smartdevicelink.proxy.SdlProxyBase proxy)
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |