@Deprecated public class AppboyConfigurationProvider extends CachedConfigurationProvider
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ADM_MESSAGING_REGISTRATION_ENABLED_KEY
Deprecated.
|
protected static java.lang.String |
API_KEY
Deprecated.
|
protected static java.lang.String |
APPLICATION_ICON_KEY
Deprecated.
|
protected static java.lang.String |
CONTENT_CARDS_UNREAD_VISUAL_INDICATOR_ENABLED
Deprecated.
|
protected static java.lang.String |
CUSTOM_ENDPOINT
Deprecated.
|
protected static java.lang.String |
CUSTOM_HTML_WEBVIEW_ACTIVITY_CLASS_NAME_KEY
Deprecated.
|
protected static java.lang.String |
CUSTOM_LOCATION_PROVIDERS_LIST_KEY
Deprecated.
|
protected static java.lang.String |
DEFAULT_NOTIFICATION_ACCENT_COLOR_KEY
Deprecated.
|
protected static java.lang.String |
DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION
Deprecated.
|
protected static java.lang.String |
DEFAULT_NOTIFICATION_CHANNEL_NAME
Deprecated.
|
protected static java.lang.String |
DEVICE_OBJECT_ALLOWLIST_VALUE
Deprecated.
Integrations using this value in braze.xml aren't expected so this field remains the old value.
|
protected static java.lang.String |
DEVICE_OBJECT_ALLOWLISTING_ENABLED_KEY
Deprecated.
Integrations using this value in braze.xml aren't expected so this field remains the old value.
|
protected static java.lang.String |
ENABLE_LOCATION_COLLECTION_KEY
Deprecated.
|
protected static java.lang.String |
FIREBASE_CLOUD_MESSAGING_REGISTRATION_ENABLED_KEY
Deprecated.
|
protected static java.lang.String |
FIREBASE_CLOUD_MESSAGING_SENDER_ID_KEY
Deprecated.
|
protected static java.lang.String |
FIREBASE_MESSAGING_SERVICE_AUTOMATICALLY_REGISTER_ON_NEW_TOKEN_KEY
Deprecated.
|
protected static java.lang.String |
GEOFENCES_AUTOMATIC_REQUESTS_ENABLED_KEY
Deprecated.
|
protected static java.lang.String |
GEOFENCES_ENABLED
Deprecated.
|
protected static java.lang.String |
HANDLE_PUSH_DEEP_LINKS_AUTOMATICALLY
Deprecated.
|
protected static java.lang.String |
IN_APP_MESSAGE_ACCESSIBILITY_EXCLUSIVE_MODE_ENABLED
Deprecated.
|
protected static java.lang.String |
IN_APP_MESSAGE_PUSH_TEST_EAGER_DISPLAY
Deprecated.
|
protected static java.lang.String |
IN_APP_MESSAGE_WEBVIEW_CLIENT_MAX_ONPAGEFINISHED_WAIT_KEY
Deprecated.
|
protected static java.lang.String |
LARGE_NOTIFICATION_ICON_KEY
Deprecated.
|
protected static java.lang.String |
LOCALE_TO_API_KEY_MAPPING_KEY
Deprecated.
|
protected static java.lang.String |
LOGGER_INITIAL_LOG_LEVEL
Deprecated.
|
protected static java.lang.String |
NEWSFEED_UNREAD_VISUAL_INDICATOR_ON
Deprecated.
|
protected static java.lang.String |
PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_CLASS_NAME_KEY
Deprecated.
|
protected static java.lang.String |
PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_ENABLED_KEY
Deprecated.
|
protected static java.lang.String |
PUSH_NOTIFICATION_HTML_RENDERING_ENABLED
Deprecated.
|
protected static java.lang.String |
PUSH_WAKE_SCREEN_FOR_NOTIFICATION_ENABLED
Deprecated.
|
protected static java.lang.String |
REQUIRE_TOUCH_MODE_FOR_HTML_IAMS_KEY
Deprecated.
|
protected static java.lang.String |
SDK_AUTH_ENABLED
Deprecated.
|
protected static java.lang.String |
SDK_FLAVOR
Deprecated.
|
protected static java.lang.String |
SERVER_TARGET_KEY
Deprecated.
|
protected static java.lang.String |
SESSION_START_BASED_TIMEOUT_ENABLED_KEY
Deprecated.
|
protected static java.lang.String |
SESSION_TIMEOUT_KEY
Deprecated.
|
protected static java.lang.String |
SMALL_NOTIFICATION_ICON_KEY
Deprecated.
|
protected static java.lang.String |
TRIGGER_ACTION_MINIMUM_TIME_INTERVAL_KEY_SECONDS
Deprecated.
|
protected static java.lang.String |
VERSION_CODE_KEY
Deprecated.
|
mConfigurationCache, mRuntimeAppConfigurationProvider
Constructor and Description |
---|
AppboyConfigurationProvider(android.content.Context context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BrazeApiKey |
getAppboyApiKey()
Deprecated.
|
java.lang.String |
getAppboyApiKeyStringFromLocaleMapping(java.util.Locale localeToMatch)
Deprecated.
Attempts to return the api key from the XML based on the current locale.
|
int |
getApplicationIconResourceId()
Deprecated.
|
java.lang.String |
getBaseUrlForRequests()
Deprecated.
|
java.lang.String |
getCustomEndpoint()
Deprecated.
|
java.lang.String |
getCustomHtmlWebViewActivityClassName()
Deprecated.
|
java.util.EnumSet<LocationProviderName> |
getCustomLocationProviderNames()
Deprecated.
|
int |
getDefaultNotificationAccentColor()
Deprecated.
|
java.lang.String |
getDefaultNotificationChannelDescription()
Deprecated.
|
java.lang.String |
getDefaultNotificationChannelName()
Deprecated.
|
java.util.EnumSet<DeviceKey> |
getDeviceObjectAllowlist()
Deprecated.
|
java.util.EnumSet<DeviceKey> |
getDeviceObjectWhitelist()
Deprecated.
|
java.lang.String |
getFirebaseCloudMessagingSenderIdKey()
Deprecated.
Gets the sender ID key used to register for Firebase Cloud Messaging.
|
boolean |
getHandlePushDeepLinksAutomatically()
Deprecated.
|
int |
getInAppMessageWebViewClientOnPageFinishedMaxWaitMs()
Deprecated.
|
boolean |
getIsAutomaticGeofenceRequestsEnabled()
Deprecated.
|
boolean |
getIsDeviceObjectAllowlistEnabled()
Deprecated.
|
boolean |
getIsDeviceObjectWhitelistEnabled()
Deprecated.
|
boolean |
getIsFirebaseMessagingServiceOnNewTokenRegistrationEnabled()
Deprecated.
Determines whether the Braze will automatically register tokens in
com.google.firebase.messaging.FirebaseMessagingService#onNewToken(String) . |
boolean |
getIsGeofencesEnabled()
Deprecated.
|
boolean |
getIsInAppMessageAccessibilityExclusiveModeEnabled()
Deprecated.
|
boolean |
getIsInAppMessageTestPushEagerDisplayEnabled()
Deprecated.
|
boolean |
getIsNewsfeedVisualIndicatorOn()
Deprecated.
|
boolean |
getIsPushDeepLinkBackStackActivityEnabled()
Deprecated.
|
boolean |
getIsPushNotificationHtmlRenderingEnabled()
Deprecated.
|
boolean |
getIsPushWakeScreenForNotificationEnabled()
Deprecated.
|
boolean |
getIsSdkAuthenticationEnabled()
Deprecated.
|
boolean |
getIsSessionStartBasedTimeoutEnabled()
Deprecated.
|
boolean |
getIsTouchModeRequiredForHtmlInAppMessages()
Deprecated.
|
int |
getLargeNotificationIconResourceId()
Deprecated.
|
int |
getLoggerInitialLogLevel()
Deprecated.
Gets the value for the initial log level.
|
java.lang.String |
getPushDeepLinkBackStackActivityClassName()
Deprecated.
|
SdkFlavor |
getSdkFlavor()
Deprecated.
|
int |
getSessionTimeoutSeconds()
Deprecated.
|
int |
getSmallNotificationIconResourceId()
Deprecated.
|
long |
getTriggerActionMinimumTimeIntervalInSeconds()
Deprecated.
|
int |
getVersionCode()
Deprecated.
|
boolean |
isAdmMessagingRegistrationEnabled()
Deprecated.
|
boolean |
isContentCardsUnreadVisualIndicatorEnabled()
Deprecated.
Gets whether the Content Cards unread visual indication bar is enabled.
|
boolean |
isFirebaseCloudMessagingRegistrationEnabled()
Deprecated.
Gets whether the SDK is configured to automatically register for Firebase Cloud Messaging.
|
boolean |
isLocationCollectionEnabled()
Deprecated.
|
getBooleanValue, getColorValue, getIntValue, getStringSetValue, getStringValue, readBooleanResourceValue, readColorResourceValue, readIntegerResourceValue, readStringArrayResourceValue, readStringResourceValue
protected static final java.lang.String API_KEY
protected static final java.lang.String SERVER_TARGET_KEY
protected static final java.lang.String ADM_MESSAGING_REGISTRATION_ENABLED_KEY
protected static final java.lang.String SMALL_NOTIFICATION_ICON_KEY
protected static final java.lang.String LARGE_NOTIFICATION_ICON_KEY
protected static final java.lang.String VERSION_CODE_KEY
protected static final java.lang.String APPLICATION_ICON_KEY
protected static final java.lang.String SESSION_TIMEOUT_KEY
protected static final java.lang.String LOCALE_TO_API_KEY_MAPPING_KEY
protected static final java.lang.String ENABLE_LOCATION_COLLECTION_KEY
protected static final java.lang.String DEFAULT_NOTIFICATION_ACCENT_COLOR_KEY
protected static final java.lang.String TRIGGER_ACTION_MINIMUM_TIME_INTERVAL_KEY_SECONDS
protected static final java.lang.String HANDLE_PUSH_DEEP_LINKS_AUTOMATICALLY
protected static final java.lang.String NEWSFEED_UNREAD_VISUAL_INDICATOR_ON
protected static final java.lang.String SDK_FLAVOR
protected static final java.lang.String CUSTOM_ENDPOINT
protected static final java.lang.String DEFAULT_NOTIFICATION_CHANNEL_NAME
protected static final java.lang.String DEFAULT_NOTIFICATION_CHANNEL_DESCRIPTION
protected static final java.lang.String PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_ENABLED_KEY
protected static final java.lang.String PUSH_DEEP_LINK_BACK_STACK_ACTIVITY_CLASS_NAME_KEY
protected static final java.lang.String SESSION_START_BASED_TIMEOUT_ENABLED_KEY
protected static final java.lang.String FIREBASE_CLOUD_MESSAGING_REGISTRATION_ENABLED_KEY
protected static final java.lang.String FIREBASE_CLOUD_MESSAGING_SENDER_ID_KEY
protected static final java.lang.String CONTENT_CARDS_UNREAD_VISUAL_INDICATOR_ENABLED
protected static final java.lang.String DEVICE_OBJECT_ALLOWLISTING_ENABLED_KEY
protected static final java.lang.String DEVICE_OBJECT_ALLOWLIST_VALUE
protected static final java.lang.String IN_APP_MESSAGE_ACCESSIBILITY_EXCLUSIVE_MODE_ENABLED
protected static final java.lang.String PUSH_WAKE_SCREEN_FOR_NOTIFICATION_ENABLED
protected static final java.lang.String PUSH_NOTIFICATION_HTML_RENDERING_ENABLED
protected static final java.lang.String GEOFENCES_ENABLED
protected static final java.lang.String IN_APP_MESSAGE_PUSH_TEST_EAGER_DISPLAY
protected static final java.lang.String LOGGER_INITIAL_LOG_LEVEL
protected static final java.lang.String CUSTOM_HTML_WEBVIEW_ACTIVITY_CLASS_NAME_KEY
protected static final java.lang.String GEOFENCES_AUTOMATIC_REQUESTS_ENABLED_KEY
protected static final java.lang.String CUSTOM_LOCATION_PROVIDERS_LIST_KEY
protected static final java.lang.String IN_APP_MESSAGE_WEBVIEW_CLIENT_MAX_ONPAGEFINISHED_WAIT_KEY
protected static final java.lang.String FIREBASE_MESSAGING_SERVICE_AUTOMATICALLY_REGISTER_ON_NEW_TOKEN_KEY
protected static final java.lang.String SDK_AUTH_ENABLED
protected static final java.lang.String REQUIRE_TOUCH_MODE_FOR_HTML_IAMS_KEY
public AppboyConfigurationProvider(android.content.Context context)
public java.lang.String getBaseUrlForRequests()
public java.lang.String getAppboyApiKeyStringFromLocaleMapping(java.util.Locale localeToMatch)
localeToMatch
- the Locale to associate the api key.public BrazeApiKey getAppboyApiKey()
java.lang.RuntimeException
- if the API key is not setpublic boolean isAdmMessagingRegistrationEnabled()
public boolean isLocationCollectionEnabled()
public boolean getIsGeofencesEnabled()
public int getSmallNotificationIconResourceId()
public int getLargeNotificationIconResourceId()
public long getTriggerActionMinimumTimeIntervalInSeconds()
public int getSessionTimeoutSeconds()
public int getVersionCode()
public java.lang.String getCustomEndpoint()
public boolean getHandlePushDeepLinksAutomatically()
public boolean getIsNewsfeedVisualIndicatorOn()
public java.lang.String getDefaultNotificationChannelName()
public java.lang.String getDefaultNotificationChannelDescription()
public int getApplicationIconResourceId()
public int getDefaultNotificationAccentColor()
public SdkFlavor getSdkFlavor()
public boolean getIsPushDeepLinkBackStackActivityEnabled()
public java.lang.String getPushDeepLinkBackStackActivityClassName()
public boolean getIsSessionStartBasedTimeoutEnabled()
public boolean isFirebaseCloudMessagingRegistrationEnabled()
public boolean isContentCardsUnreadVisualIndicatorEnabled()
public java.lang.String getFirebaseCloudMessagingSenderIdKey()
@Deprecated public java.util.EnumSet<DeviceKey> getDeviceObjectWhitelist()
getDeviceObjectAllowlist()
public java.util.EnumSet<DeviceKey> getDeviceObjectAllowlist()
@Deprecated public boolean getIsDeviceObjectWhitelistEnabled()
getIsDeviceObjectAllowlistEnabled()
public boolean getIsDeviceObjectAllowlistEnabled()
public boolean getIsInAppMessageAccessibilityExclusiveModeEnabled()
public boolean getIsPushWakeScreenForNotificationEnabled()
public boolean getIsPushNotificationHtmlRenderingEnabled()
public boolean getIsInAppMessageTestPushEagerDisplayEnabled()
public boolean getIsAutomaticGeofenceRequestsEnabled()
public int getLoggerInitialLogLevel()
BrazeLogger.DEFAULT_LOG_LEVEL
. Should only be used in conjunction
with BrazeLogger
.public java.lang.String getCustomHtmlWebViewActivityClassName()
Class.forName(String)
.public int getInAppMessageWebViewClientOnPageFinishedMaxWaitMs()
public java.util.EnumSet<LocationProviderName> getCustomLocationProviderNames()
public boolean getIsFirebaseMessagingServiceOnNewTokenRegistrationEnabled()
com.google.firebase.messaging.FirebaseMessagingService#onNewToken(String)
.
Defaults to isFirebaseCloudMessagingRegistrationEnabled()
public boolean getIsSdkAuthenticationEnabled()
public boolean getIsTouchModeRequiredForHtmlInAppMessages()