public static class SdlManager.Builder
extends com.smartdevicelink.managers.BaseSdlManager.Builder
| Constructor and Description |
|---|
Builder(Context context,
String appId,
String appName,
BaseTransportConfig transport,
SdlManagerListener listener)
Builder for the SdlManager.
|
Builder(Context context,
String appId,
String appName,
SdlManagerListener listener)
Builder for the SdlManager.
|
| Modifier and Type | Method and Description |
|---|---|
SdlManager |
build()
Build SdlManager ang get it ready to be started
Note: new instance of SdlManager should be created on every connection.
|
SdlManager.Builder |
setContext(Context context)
Sets the Context
|
SdlManager.Builder |
setLockScreenConfig(LockScreenConfig lockScreenConfig)
Sets the LockScreenConfig for the session.
|
setAppIcon, setAppId, setAppName, setAppTypes, setDayColorScheme, setFileManagerConfig, setLanguage, setManagerListener, setMinimumProtocolVersion, setMinimumRPCVersion, setNightColorScheme, setResumeHash, setRPCNotificationListeners, setSdlSecurity, setShortAppName, setTransportType, setTtsName, setVrSynonymspublic Builder(@NonNull
Context context,
@NonNull
String appId,
@NonNull
String appName,
@NonNull
SdlManagerListener listener)
context - the current contextappId - the app's IDappName - the app's namelistener - a SdlManagerListener objectpublic Builder(@NonNull
Context context,
@NonNull
String appId,
@NonNull
String appName,
@NonNull
BaseTransportConfig transport,
@NonNull
SdlManagerListener listener)
context - the current contextappId - the app's IDappName - the app's namelistener - a SdlManagerListener objectpublic SdlManager.Builder setLockScreenConfig(LockScreenConfig lockScreenConfig)
lockScreenConfig - - configuration optionspublic SdlManager.Builder setContext(Context context)
context - the current contextpublic SdlManager build()
build in class com.smartdevicelink.managers.BaseSdlManager.Builder