MoEngageLogNotificationTask

@objc(MoEngageLogNotificationTask)
public final class MoEngageLogNotificationTask : MoEngageBaseTask, MoEngageTaskProtocol

Typed task returned by the notification-impression-logging methods on MoEngageSDKMessaginglogNotificationReceived(withPayload:) / logNotificationClicked(withPayload:) / logNotificationClicked(withResponse:). Carries a MoEngageNotificationTrackingResult on success after the impression is accepted into the local batch storage. For logNotificationReceived(withPayload:) only, returns onFailure(.duplicateImpression) when the same impression payload was already tracked in a prior call.

Customers identify which event was tracked from the method they called — there is no kind discriminator on the Result.