Data

extension MoEngageConfig.FileBased.Data
  • Custom implementation for decoding the configuration.

    This handles the conversion of plist values to the configuration properties, including special handling for various types and default values.

    Throws

    DecodingError if required values are missing or invalid.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder to read data from.

  • Validates if the configuration is complete and consistent.

    Declaration

    Swift

    public func validate() -> Bool

    Return Value

    true if the configuration is valid, false otherwise.

Default Values

  • Default Values for MoEngage SDK default configuration values.

    These constants represent the default values for MoEngage SDK configuration used throughout the initialization process.

    See more

    Declaration

    Swift

    public enum DefaultValues