MoEngageShowInAppResult
@objc(MoEngageShowInAppResult)
public final class MoEngageShowInAppResult : NSObject, MoEngageShownCampaign, @unchecked Sendable
Success payload for MoEngageShowInAppTask (intrusive in-apps: pop-up /
fullscreen).
Resolves AFTER the campaign is visibly rendered on screen — i.e. after the
MoEngageInAppNativeDelegate.inAppShown(...) delegate callback path has
fired. try await result() blocks until visual attach + delay-manager +
render completion. For animated campaigns this can be several seconds
after the showInApp(...) call returns.
Customers can use either signal — the typed task resolves at the same
anchor as the inAppShown delegate. The delegate hook continues to work
unchanged for customers who prefer the legacy convention; new customers
can await task.result() and inspect the typed payload directly.
-
Declaration
Swift
public let campaignName: String -
Declaration
Swift
public let campaignId: String -
Declaration
Swift
public let inAppType: MoEngageInAppType