MoEngageSelfHandledTrackingTask
@objc(MoEngageSelfHandledTrackingTask)
public final class MoEngageSelfHandledTrackingTask : MoEngageBaseTask, MoEngageTaskProtocol
Typed task returned by the three self-handled impression tracking methods
on MoEngageSDKInApp — selfHandledShown(campaignInfo:),
selfHandledClicked(campaignInfo:), selfHandledDismissed(campaignInfo:)
(and their forAppId: overloads). Carries a
MoEngageSelfHandledTrackingResult on success once the impression has
been accepted into the SDK’s tracking pipeline.
The Result echoes campaignName + campaignId. Customers identify which
event was tracked from the method they called — there is no kind
discriminator on the Result.
-
Declaration
Swift
public typealias Success = MoEngageSelfHandledTrackingResult -
Declaration
Swift
public typealias Failure = MoEngageRequestFailure