MoEngageConfig

Specification

  • A collection of typed storage locations used by the SDK configuration manager.

    Each property is a MoEngageStorage/ReadOnlyLocation, MoEngageStorage/WriteOnlyLocation, or composed variant that reads or writes a specific piece of SDK configuration. Locations span multiple backends — InMemoryStorage, FileStorage, UserDefaultStorage, KeychainStorage, MirroredStorage, and MigratingStorage — and the correct backend is selected automatically when the property is accessed through a bound MoEngageStorage/State.

    Bind this spec to a MoEngageSDKInstance via MoEngageStorage/State to call each location without threading the instance argument through manually:

    var state = MoEngageStorage.State<MoEngageConfig.Specification>()
    let groupName = try state.keychainGroupName()
    try state.isTestEnvironment(true)
    
    See more

    Declaration

    Swift

    struct Specification : MoEngageStorage.Specification
  • Declaration

    Swift

    struct InMemory : Hashable, Sendable
  • Declaration

    Swift

    enum Constants
  • Declaration

    Swift

    public extension MoEngageConfig.Partner