Edit in GitHubLog an issue

Migrating to AEPAudience reference

This document is a reference comparison of AEPAudience (3.x) APIs against their equivalent ACPAudience (2.x) APIs.

The AEPAudience extension is implemented purely in Swift and is compatible with the AEPCore Swift SDK. To ensure a smooth transition from the ACPAudience SDK, there are no major changes on the API names or definition. For more details, follow the migration guide below for your Swift or Objective-C mobile application. If explanation beyond showing API differences is necessary, it will be captured as an info hint within that API's section.

AEPAudience classes

TypeAEP 3.x (Swift)AEP 3.x (Objective-C)ACP 2.x (Objective-C)
Primary Class
Audience
AEPMobileAudience
ACPAudience

AEPAudience APIs

extensionVersion

Copied to your clipboard
static var extensionVersion: String

getVisitorProfile

Copied to your clipboard
static func getVisitorProfile(completion: @escaping ([String: String]?, Error?) -> Void)

reset

Copied to your clipboard
static func reset()

signalWithData

Copied to your clipboard
static func signalWithData(data: [String: String], completion: @escaping ([String: String]?, Error?) -> Void)
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.