RudderConfigBuilder class

RudderConfigBuilder class for RudderConfig

Constructors

RudderConfigBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() RudderConfig
Finalize your config building @return RudderConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withConfigRefreshInterval(int configRefreshInterval) RudderConfigBuilder
@param configRefreshInterval How often you want to fetch the config from the server. Min : 1 hr Max : 24 hrs @return RudderConfigBuilder
withControlPlaneUrl(String controlPlaneUrl) RudderConfigBuilder
@param controlPlaneUrl Your hosted version of sourceConfig @return RudderConfigBuilder
withDataPlaneUrl(String dataPlaneUrl) RudderConfigBuilder
@param dataPlaneUrl Your data-plane Url @return RudderConfigBuilder
withDbThresholdCount(int dbThresholdCount) RudderConfigBuilder
@param dbThresholdCount No of events to be persisted in DB @return RudderConfigBuilder
withDebug(bool isDebug) RudderConfigBuilder
@param isDebug Set it true to initialize SDK in debug mode @return RudderConfigBuilder @deprecated Use withLogLevel(int logLevel) instead
withFactories(List<RudderIntegration> factories) RudderConfigBuilder
@param list of factory objects of the device mode integrations @return RudderConfigBuilder
withFactory(RudderIntegration factory) RudderConfigBuilder
@param factory Object of the device mode integration class @return RudderConfigBuilder
withFlushQueueSize(int flushQueueSize) RudderConfigBuilder
@param flushQueueSize No. of events you want to send in a batch (min = 1, max = 100) @return RudderConfigBuilder
withLogLevel(int logLevel) RudderConfigBuilder
@param logLevel Determine how much log you want to generate. Use RudderLogger.NONE for production @return RudderConfigBuilder
withSleepCount(int sleepCount) RudderConfigBuilder
@param sleepCount No of seconds to wait before sending any batch @return RudderConfigBuilder
withTrackLifecycleEvents(bool shouldTrackLifecycleEvents) RudderConfigBuilder
@param shouldTrackLifecycleEvents Whether we should track Application lifecycle events automatically "Application Installed" and "Application Updated" will always be tracked @return RudderConfigBuilder

Operators

operator ==(Object other) bool
The equality operator.
inherited