UAInAppMessageResolution

Objective-C

@interface UAInAppMessageResolution : NSObject

Swift

class UAInAppMessageResolution : NSObject

In-app message resolution info.

  • Button info for a message click resolution.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInAppMessageButtonInfo *buttonInfo;

    Swift

    var buttonInfo: UAInAppMessageButtonInfo? { get }
  • Resolution type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UAInAppMessageResolutionType type;

    Swift

    var type: UAInAppMessageResolutionType { get }
  • Creates a button click resolution instance.

    Declaration

    Objective-C

    + (nonnull instancetype)buttonClickResolutionWithButtonInfo:
        (nonnull UAInAppMessageButtonInfo *)buttonInfo;

    Swift

    class func buttonClick(with buttonInfo: UAInAppMessageButtonInfo) -> Self

    Parameters

    buttonInfo

    The button info.

    Return Value

    The resolution instance.

  • Creates a message click resolution instance.

    Declaration

    Objective-C

    + (nonnull instancetype)messageClickResolution;

    Swift

    class func messageClick() -> Self

    Return Value

    The resolution instance.

  • Creates a user dismissed resolution instance.

    Declaration

    Objective-C

    + (nonnull instancetype)userDismissedResolution;

    Swift

    class func userDismissed() -> Self

    Return Value

    The resolution instance.

  • Creates a timed out resolution instance.

    Declaration

    Objective-C

    + (nonnull instancetype)timedOutResolution;

    Swift

    class func timedOut() -> Self

    Return Value

    The resolution instance.