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
LifecycleManager

Class LifecycleManager

Hierarchy

java.lang.Object
     com.smartdevicelink.managers.lifecycle.BaseLifecycleManager

Package
com.smartdevicelink.managers.lifecycle

Overview

The lifecycle manager creates a central point for all SDL session logic to converge. It should only be used by the library itself. Usage outside the library is not permitted and will not be protected for in the future.

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.managers.lifecycle.BaseLifecycleManager MAX_SUPPORTED_RPC_VERSION, SESSION_LOCK

Constructors

LifecycleManager( BaseLifecycleManager.AppConfig appConfig, BaseTransportConfig config, BaseLifecycleManager.LifecycleListener listener )

public LifecycleManager(BaseLifecycleManager.AppConfig appConfig,BaseTransportConfig config,BaseLifecycleManager.LifecycleListener listener)

Constructor Parameters

appConfig
config
listener

Methods

setContext( Context context )

public void setContext(Context context)

Method Parameters

context

Inherited Methods

From Class Methods
com.smartdevicelink.managers.lifecycle.BaseLifecycleManager start, startRPCEncryption, stop, transitionToState, getState, getSystemCapabilityManager, getRegisterAppInterfaceResponse, getCurrentHMIStatus, getInternalInterface, getAuthToken, setSdlSecurity
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section