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
SdlManager

Class SdlManager

Hierarchy

java.lang.Object
     com.smartdevicelink.managers.BaseSdlManager

Package
com.smartdevicelink.managers

Overview

SDLManager

This is the main point of contact between an application and SDL

It is broken down to these areas:

1. SDLManagerBuilder
2. ISdl Interface along with its overridden methods - This can be passed into attached managers
3. Sending Requests
4. Helper methods

Constructors

SdlManager()

public SdlManager()

Methods

start()

Starts up a SdlManager, and calls provided callback called once all BaseSubManagers are done setting up

public void start()

initialize()

protected void initialize()

dispose()

Dispose SdlManager and clean its resources Note: new instance of SdlManager should be created on every connection. SdlManager cannot be reused after getting disposed.

public synchronized void dispose()

getVideoStreamManager()

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()

getAudioStreamManager()

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()

getLockScreenManager()

Gets the LockScreenManager.
Note: LockScreenManager should be used only after SdlManager.start() CompletionListener callback is completed successfully.

public com.smartdevicelink.managers.lockscreen.LockScreenManager getLockScreenManager()

getLockScreenConfig()

protected com.smartdevicelink.managers.lockscreen.LockScreenConfig getLockScreenConfig()

Inherited Methods

From Class Methods
com.smartdevicelink.managers.BaseSdlManager dispose, checkLifecycleConfiguration, getState, transitionToState, start, getAppName, getAppId, getShortAppName, getMinimumProtocolVersion, getMinimumRPCVersion, getHmiLanguage, getLanguage, getDayColorScheme, getNightColorScheme, getAppTypes, getVrSynonyms, getTtsChunks, getTransport, getFileManagerConfig, getPermissionManager, getFileManager, getScreenManager, getSystemCapabilityManager, getRegisterAppInterfaceResponse, getCurrentHMIStatus, getAuthToken, sendRPC, sendSequentialRPCs, sendRPCs, addOnRPCNotificationListener, removeOnRPCNotificationListener, addOnRPCRequestListener, removeOnRPCRequestListener, startRPCEncryption
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section