MoEngageNudgePosition

@objc
public enum MoEngageNudgePosition : Int
extension MoEngageNudgePosition: CustomStringConvertible

Position at which a nudge InApp campaign is displayed on screen.

  • top

    Show the nudge at the top of the screen.

    Declaration

    Swift

    case top
  • Show the nudge at the bottom of the screen.

    Declaration

    Swift

    case bottom
  • Show the nudge at the bottom-left of the screen.

    Declaration

    Swift

    case bottomLeft
  • Show the nudge at the bottom-right of the screen.

    Declaration

    Swift

    case bottomRight
  • any

    Show the nudge at any available position.

    Declaration

    Swift

    case any
  • Do not show the nudge.

    Declaration

    Swift

    case none
  • Creates a MoEngageNudgePosition from its server-side string key. Returns .none for unrecognised values.

    Declaration

    Swift

    public init(positionStr: String)
  • Server-side string key for this position.

    Declaration

    Swift

    public var description: String { get }