MoEngageStorageEncryptionConfig

@objc
public class MoEngageStorageEncryptionConfig : NSObject

Model class to support storage encryption

  • Set the value as true to enable storage encryption

    Declaration

    Swift

    @objc
    public var isEncryptionEnabled: Bool
  • Initialize the instance of type MoEngageStorageEncryptionConfig

    Declaration

    Swift

    @objc
    public init(isEncryptionEnabled: Bool)

    Parameters

    isEncryptionEnabled

    Pass true to enable storage encryption

  • Returns the instance of MoEngageStorageEncryptionConfig with default configuration

    Declaration

    Swift

    @objc
    public static func defaultConfig() -> MoEngageStorageEncryptionConfig

    Return Value

    Instance of MoEngageStorageEncryptionConfig where encryption is disabled

  • Prints the description of MoEngageStorageEncryptionConfig

    Declaration

    Swift

    public override var description: String { get }