MoEngageNudgePosition
@objc
public enum MoEngageNudgePosition : Int
extension MoEngageNudgePosition: CustomStringConvertible
Position at which a nudge InApp campaign is displayed on screen.
-
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 -
Show the nudge at any available position.
Declaration
Swift
case any -
Do not show the nudge.
Declaration
Swift
case none -
Creates a
MoEngageNudgePositionfrom its server-side string key. Returns.nonefor unrecognised values.Declaration
Swift
public init(positionStr: String) -
Server-side string key for this position.
Declaration
Swift
public var description: String { get }