public class Configuration
extends java.lang.Object
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApiKey() |
int |
getAppIcon() |
long |
getAutoAppOpenInterval() |
long |
getBatchInterval() |
int |
getBulkEventsJobId() |
java.lang.Class |
getCartPage()
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
java.lang.String |
getCustomDeviceId() |
java.lang.String |
getDefaultNotificationChannelDescription() |
java.lang.String |
getDefaultNotificationChannelId() |
java.lang.String |
getDefaultNotificationChannelName() |
Blueshift.DeviceIdSource |
getDeviceIdSource() |
int |
getDialogTheme()
Deprecated.
Dialog notifications are deprecated. Use in-app messages instead.
|
long |
getInAppInterval() |
int |
getLargeIconResId() |
int |
getNetworkChangeListenerJobId() |
int |
getNotificationColor() |
java.lang.Class |
getOfferDisplayPage()
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
java.lang.Class |
getProductPage()
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
int |
getSmallIconResId() |
boolean |
isAutoAppOpenFiringEnabled() |
boolean |
isInAppBackgroundFetchEnabled() |
boolean |
isInAppEnabled() |
boolean |
isInAppManualTriggerEnabled() |
boolean |
isJavaScriptForInAppWebViewEnabled() |
boolean |
isPushEnabled() |
void |
setApiKey(java.lang.String apiKey) |
void |
setAppIcon(int appIcon) |
void |
setAutoAppOpenInterval(long intervalInSeconds) |
void |
setBatchInterval(long batchInterval)
Set interval between bulk event api calls here.
|
void |
setBulkEventsJobId(int bulkEventsJobId) |
void |
setCartPage(java.lang.Class cartPage)
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
void |
setCustomDeviceId(java.lang.String deviceId) |
void |
setDefaultNotificationChannelDescription(java.lang.String channelDescription) |
void |
setDefaultNotificationChannelId(java.lang.String defaultNotificationChannelId) |
void |
setDefaultNotificationChannelName(java.lang.String channelName) |
void |
setDeviceIdSource(Blueshift.DeviceIdSource deviceIdSource) |
void |
setDialogTheme(int dialogTheme)
Deprecated.
Dialog notifications are deprecated. Use in-app messages instead.
|
void |
setEnableAutoAppOpenFiring(boolean enableAutoAppOpen)
This enables/disables the app_open event firing when app is started based on the boolean
value supplied in enableAutoAppOpen.
|
void |
setInAppBackgroundFetchEnabled(boolean inAppBackgroundFetchEnabled) |
void |
setInAppEnabled(boolean inAppEnabled) |
void |
setInAppInterval(long milliseconds) |
void |
setInAppManualTriggerEnabled(boolean inAppManualTriggerEnabled) |
void |
setJavaScriptForInAppWebViewEnabled(boolean enable) |
void |
setLargeIconResId(int largeIconResId) |
void |
setNetworkChangeListenerJobId(int networkChangeListenerJobId) |
void |
setNotificationColor(int notificationColor)
This value will be used for passing into setColor() method of the Notification Builder
|
void |
setOfferDisplayPage(java.lang.Class offerDisplayPage)
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
void |
setProductPage(java.lang.Class productPage)
Deprecated.
Category based deep-linking is deprecated. Instead, please use customisable
action buttons. Email us at support@blueshift.com for more details.
|
void |
setPushEnabled(boolean pushEnabled) |
void |
setSmallIconResId(int smallIconResId) |
public int getAppIcon()
public void setAppIcon(int appIcon)
@Deprecated public java.lang.Class getProductPage()
@Deprecated public void setProductPage(java.lang.Class productPage)
@Deprecated public java.lang.Class getCartPage()
@Deprecated public void setCartPage(java.lang.Class cartPage)
public java.lang.String getApiKey()
public void setApiKey(java.lang.String apiKey)
@Deprecated public java.lang.Class getOfferDisplayPage()
@Deprecated public void setOfferDisplayPage(java.lang.Class offerDisplayPage)
public long getBatchInterval()
public void setBatchInterval(long batchInterval)
batchInterval - batch interval in milliseconds@Deprecated public int getDialogTheme()
@Deprecated public void setDialogTheme(int dialogTheme)
dialogTheme - user define theme's reference idpublic int getSmallIconResId()
public void setSmallIconResId(int smallIconResId)
public int getLargeIconResId()
public void setLargeIconResId(int largeIconResId)
public int getNotificationColor()
public void setNotificationColor(int notificationColor)
notificationColor - color valuepublic java.lang.String getDefaultNotificationChannelId()
public void setDefaultNotificationChannelId(java.lang.String defaultNotificationChannelId)
public java.lang.String getDefaultNotificationChannelName()
public void setDefaultNotificationChannelName(java.lang.String channelName)
public java.lang.String getDefaultNotificationChannelDescription()
public void setDefaultNotificationChannelDescription(java.lang.String channelDescription)
public int getNetworkChangeListenerJobId()
public void setNetworkChangeListenerJobId(int networkChangeListenerJobId)
public int getBulkEventsJobId()
public void setBulkEventsJobId(int bulkEventsJobId)
public long getAutoAppOpenInterval()
public void setAutoAppOpenInterval(long intervalInSeconds)
public boolean isAutoAppOpenFiringEnabled()
public void setEnableAutoAppOpenFiring(boolean enableAutoAppOpen)
By default the automatic firing of app_open is disabled.
enableAutoAppOpen - boolean value that enable/disable auto app open firing.public boolean isPushEnabled()
public void setPushEnabled(boolean pushEnabled)
public long getInAppInterval()
public void setInAppInterval(long milliseconds)
public boolean isJavaScriptForInAppWebViewEnabled()
public void setJavaScriptForInAppWebViewEnabled(boolean enable)
public boolean isInAppEnabled()
public void setInAppEnabled(boolean inAppEnabled)
public boolean isInAppManualTriggerEnabled()
public void setInAppManualTriggerEnabled(boolean inAppManualTriggerEnabled)
public boolean isInAppBackgroundFetchEnabled()
public void setInAppBackgroundFetchEnabled(boolean inAppBackgroundFetchEnabled)
public Blueshift.DeviceIdSource getDeviceIdSource()
public void setDeviceIdSource(Blueshift.DeviceIdSource deviceIdSource)
public java.lang.String getCustomDeviceId()
public void setCustomDeviceId(java.lang.String deviceId)