WDWBuilder Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | WDWBuilder.h |
Overview
Helper class to configure and build WDWClient instances.
Usage Example
WDWClient *sdkInstance = [[[[[WDWClientBuilder new]
withFleetID:@"UnitTest_Fleet"]
withPushConfiguration:config]
withLogLevel:WDWLogLevelError]
build];
– withFleetID:
Sets fleet ID
- (WDWBuilder *)withFleetID:(NSString *)fleetIDParameters
fleetID |
Fleet ID for your Application, provided by Bosch, required |
|---|
Declared In
WDWBuilder.h
– withPushConfiguration:
Sets the push configuration
- (WDWBuilder *)withPushConfiguration:(WDWPushConfiguration *)configParameters
config |
preconfigured WDWPushConfiguration object, required |
|---|
Declared In
WDWBuilder.h
– withMessageEvaluator:
Sets a custom message evaluator
- (WDWBuilder *)withMessageEvaluator:(id<WDWMessageEvaluation>)customEvaluatorParameters
customEvaluator |
your own class instance, which conforms to WDWMessageEvaluation protocol |
|---|
Declared In
WDWBuilder.h
– withLogLevel:
Sets desired log level
- (WDWBuilder *)withLogLevel:(WDWLogLevel)levelParameters
level |
desired log level, default is WDWLogLevelWarning |
|---|
Declared In
WDWBuilder.h