* Converts the IterableConfig instance to a dictionary object. * * @returns An object representing the configuration.
()
| 381 | * @returns An object representing the configuration. |
| 382 | */ |
| 383 | toDict() { |
| 384 | return { |
| 385 | pushIntegrationName: this.pushIntegrationName, |
| 386 | autoPushRegistration: this.autoPushRegistration, |
| 387 | inAppDisplayInterval: this.inAppDisplayInterval, |
| 388 | /** |
| 389 | * A boolean indicating if a URL handler is present. |
| 390 | * |
| 391 | * TODO: Figure out if this is purposeful |
| 392 | */ |
| 393 | // eslint-disable-next-line eqeqeq |
| 394 | urlHandlerPresent: this.urlHandler != undefined, |
| 395 | /** |
| 396 | * A boolean indicating if a custom action handler is present. |
| 397 | * |
| 398 | * TODO: Figure out if this is purposeful |
| 399 | */ |
| 400 | // eslint-disable-next-line eqeqeq |
| 401 | customActionHandlerPresent: this.customActionHandler != undefined, |
| 402 | /** |
| 403 | * A boolean indicating if an in-app handler is present. |
| 404 | * |
| 405 | * TODO: Figure out if this is purposeful |
| 406 | */ |
| 407 | // eslint-disable-next-line eqeqeq |
| 408 | inAppHandlerPresent: this.inAppHandler != undefined, |
| 409 | /** |
| 410 | * A boolean indicating if an authentication handler is present. |
| 411 | * |
| 412 | * TODO: Figure out if this is purposeful |
| 413 | */ |
| 414 | // eslint-disable-next-line eqeqeq |
| 415 | authHandlerPresent: this.authHandler != undefined, |
| 416 | /** |
| 417 | * A boolean indicating if an embedded message update callback is present. |
| 418 | * |
| 419 | * TODO: Figure out if this is purposeful |
| 420 | */ |
| 421 | // eslint-disable-next-line eqeqeq |
| 422 | onEmbeddedMessageUpdatePresent: this.onEmbeddedMessageUpdate != undefined, |
| 423 | /** |
| 424 | * A boolean indicating if an embedded messaging disabled callback is present. |
| 425 | * |
| 426 | * TODO: Figure out if this is purposeful |
| 427 | */ |
| 428 | // eslint-disable-next-line eqeqeq |
| 429 | onEmbeddedMessagingDisabledPresent: |
| 430 | this.onEmbeddedMessagingDisabled != undefined, |
| 431 | /** The log level for the SDK. */ |
| 432 | logLevel: this.logLevel, |
| 433 | expiringAuthTokenRefreshPeriod: this.expiringAuthTokenRefreshPeriod, |
| 434 | allowedProtocols: this.allowedProtocols, |
| 435 | androidSdkUseInMemoryStorageForInApps: |
| 436 | this.androidSdkUseInMemoryStorageForInApps, |
| 437 | useInMemoryStorageForInApps: this.useInMemoryStorageForInApps, |
| 438 | dataRegion: this.dataRegion, |
| 439 | pushPlatform: this.pushPlatform, |
| 440 | encryptionEnforced: this.encryptionEnforced, |
no outgoing calls
no test coverage detected