MoEngageFileStorageState

public extension MoEngageFileStorageState
  • The absolute path for provided data.

    Declaration

    Swift

    static func absoluteFilePath(
        forInstance sdkInstance: MoEngageSDKInstance,
        scope: MoEngageStorageScope,
        relativePath: String
    ) -> String?

    Parameters

    sdkInstance

    The current instance.

    scope

    The location scope.

    relativePath

    The relative file path.

    Return Value

    The absolute path.

  • The absolute path for provided data.

    Declaration

    Swift

    static func absoluteEncryptedFilePath(
        forInstance sdkInstance: MoEngageSDKInstance,
        scope: MoEngageStorageScope,
        relativePath: String
    ) -> String?

    Parameters

    sdkInstance

    The current instance.

    scope

    The location scope.

    relativePath

    The relative file path.

    Return Value

    The absolute path.

  • The non-encrypted absolute path for provided data.

    Declaration

    Swift

    static func absoluteNonEncryptedFilePath(
        forInstance sdkInstance: MoEngageSDKInstance,
        scope: MoEngageStorageScope,
        relativePath: String
    ) -> String?

    Parameters

    sdkInstance

    The current instance.

    scope

    The location scope.

    relativePath

    The relative file path.

    Return Value

    The non-encrypted absolute path.