java.lang.Object
com.smartdevicelink.managers.BaseSdlManager.Builder
Builder for the SdlManager. Parameters in the constructor are required.
public Builder(Context context,String appId,String appName,SdlManagerListener listener)
Builder for the SdlManager. Parameters in the constructor are required.
public Builder(Context context,String appId,String appName,BaseTransportConfig transport,SdlManagerListener listener)
Sets the LockScreenConfig for the session.
Note: If not set, the default configuration will be used.
public com.smartdevicelink.managers.SdlManager.Builder setLockScreenConfig(LockScreenConfig lockScreenConfig)
Sets the Context
public com.smartdevicelink.managers.SdlManager.Builder setContext(Context context)
Build SdlManager ang get it ready to be started Note: new instance of SdlManager should be created on every connection. SdlManager cannot be reused after getting disposed.
public com.smartdevicelink.managers.SdlManager build()
From Class | Methods |
---|---|
com.smartdevicelink.managers.BaseSdlManager.Builder | setAppId, setResumeHash, setAppName, setShortAppName, setMinimumProtocolVersion, setMinimumRPCVersion, setLanguage, setDayColorScheme, setNightColorScheme, setAppIcon, setAppTypes, setFileManagerConfig, setVrSynonyms, setTtsName, setTransportType, setSdlSecurity, setManagerListener, setRPCNotificationListeners, build |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |