public abstract static class Usher.Configuration.Builder
extends java.lang.Object
Usher.Configuration.Builder abstract class allows the user to create and
return a Usher.Configuration object. For example:public abstract Usher.Configuration.Builder usherAppScheme(java.lang.String usherAppScheme)
Usher.Configuration.Builder for the Usher.Configuration.usherAppScheme() component of the
Usher.Configuration object. By default, its value is .usherAppScheme - the supported Deeplink schemeUsher.Configuration.Builder for the Usher.Configuration.usherAppScheme() component of the
Usher.Configuration object.public abstract Usher.Configuration.Builder callback(@Nullable Usher.Configuration.Callback callback)
Usher.Configuration.Builder for the Usher.Configuration.callback() component of the
Usher.Configuration object.callback - the callback to receive the result of the SDK initializationUsher.Configuration.Builder for the Usher.Configuration.callback() component of the
Usher.Configuration object.@Deprecated public abstract Usher.Configuration.Builder gcmSenderId(@Nullable java.lang.String gcmSenderId)
Usher.Configuration.Builder for the Usher.Configuration.gcmSenderId() component of the
Usher.Configuration object. Be default, it will be use the built-in GCM sender ID.
Please note: GCM is set to be retired by Google by April 2019. After that, you
must provide a FCM configuration file to support push notification functionality.gcmSenderId - the GCM sender IDUsher.Configuration.Builder for the Usher.Configuration.gcmSenderId() component of the
Usher.Configuration object.public abstract Usher.Configuration.Builder enableLog(boolean enableLog)
Usher.Configuration.Builder for the Usher.Configuration.enableLog() component of the
Usher.Configuration object.enableLog - true if you want to enable the debug log;
false otherwiseUsher.Configuration.Builder for the Usher.Configuration.enableLog() component of the
Usher.Configuration object.public abstract Usher.Configuration.Builder serverModelConfig(ServerModel.PreConfig serverModelConfig)
Usher.Configuration.Builder for the Usher.Configuration.serverModelConfig() component of the
Usher.Configuration object. Through Usher.Configuration.serverModelConfig(), you can specify
your default server configuration.serverModelConfig - See ServerModel.PreConfigUsher.Configuration.Builder for the Usher.Configuration.serverModelConfig() component of the
Usher.Configuration object.public abstract Usher.Configuration.Builder pushNotificationHandlerActivityClass(@Nullable java.lang.Class<? extends android.app.Activity> aClass)
Usher.Configuration.Builder for the Usher.Configuration.pushNotificationHandlerActivityClass()
component of the Usher.Configuration object. An instance of this class will be
started when you click on the notification action of an inbox push notification.
If you do not provide this class, the action will trigger a
BroadcastReceiver with action
UsherSdkIntentContracts.ACTION_OBSERVE_INBOX_ENTITY and its JSON value, which
you can access through Intent using param
UsherSdkIntentContracts.EXTRA_PARAM.aClass - the Class of a Activity that you want to setUsher.Configuration.Builder for the Usher.Configuration.pushNotificationHandlerActivityClass()
component of the Usher.Configuration object.public abstract Usher.Configuration.Builder badgeConditionConfig(BadgeCondition.Config badgeConditionConfig)
Usher.Configuration.Builder for the Usher.Configuration.badgeConditionConfig()
component of the Usher.Configuration object. If your app would like to enforce the
badge conditions that are defined on Network Manager, you are expected to specify the
corresponding value to indicate that your app supports such restrictions. By
default, all badge condition restrictions are turned off in the MicroStrategy Badge
SDK; this means that the Location and Bluetooth configuration requirements on
Network Manager will be not honored if your app does not implement such features.badgeConditionConfig - See BadgeCondition.ConfigUsher.Configuration.Builder for the Usher.Configuration.badgeConditionConfig()
component of the Usher.Configuration object.public abstract Usher.Configuration build()
Usher.Configuration object that wraps fields related to the server
configuration.Usher.Configuration object that wraps fields related to the server
configuration.