Package com.adobe.marketing.mobile
Class InitOptions
-
- All Implemented Interfaces:
public final class InitOptionsThis class holds initialization options for configuring the AEP SDK.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanlifecycleAutomaticTrackingEnabledprivate Map<String, String>lifecycleAdditionalContextData
-
Constructor Summary
Constructors Constructor Description InitOptions()
-
Method Summary
Modifier and Type Method Description final BooleangetLifecycleAutomaticTrackingEnabled()final UnitsetLifecycleAutomaticTrackingEnabled(Boolean lifecycleAutomaticTrackingEnabled)final Map<String, String>getLifecycleAdditionalContextData()final UnitsetLifecycleAdditionalContextData(Map<String, String> lifecycleAdditionalContextData)final static InitOptionsconfigureWithAppID(String appID)Configures the SDK by downloading the remote configuration file hosted on Adobe servers specified by the given application ID(App ID) from tags property. final static InitOptionsconfigureWithFileInPath(String filePath)Configures the SDK by using a file located at a specific path. final static InitOptionsconfigureWithFileInAssets(String filePath)Configures the SDK by using a file stored in application assets. -
-
Method Detail
-
getLifecycleAutomaticTrackingEnabled
final Boolean getLifecycleAutomaticTrackingEnabled()
-
setLifecycleAutomaticTrackingEnabled
final Unit setLifecycleAutomaticTrackingEnabled(Boolean lifecycleAutomaticTrackingEnabled)
-
getLifecycleAdditionalContextData
final Map<String, String> getLifecycleAdditionalContextData()
-
setLifecycleAdditionalContextData
final Unit setLifecycleAdditionalContextData(Map<String, String> lifecycleAdditionalContextData)
-
configureWithAppID
final static InitOptions configureWithAppID(String appID)
Configures the SDK by downloading the remote configuration file hosted on Adobe servers specified by the given application ID(App ID) from tags property.
- Parameters:
appID- The App ID for the Adobe SDK configuration.- Returns:
An instance of InitOptions configured with the App ID.
-
configureWithFileInPath
final static InitOptions configureWithFileInPath(String filePath)
Configures the SDK by using a file located at a specific path.
- Parameters:
filePath- The file path for the configuration file.- Returns:
An instance of InitOptions configured with the file path.
-
configureWithFileInAssets
final static InitOptions configureWithFileInAssets(String filePath)
Configures the SDK by using a file stored in application assets.
- Parameters:
filePath- The path of the file in assets.- Returns:
An instance of InitOptions configured with the asset file path.
-
-
-
-