OmidFriendlyObstruction
@objc(THEOplayerOmidFriendlyObstruction)
public class OmidFriendlyObstruction : NSObject
Represents a friendly obstruction instance for OMID.
-
The view element of the friendly obstruction.
Declaration
Swift
public private(set) var view: UIView { get }
-
The purpose of the friendly obstruction.
Declaration
Swift
public private(set) var purpose: OmidFriendlyObstructionPurpose { get }
-
A text to explain the reason behind adding the view as a friendly obstruction.
Declaration
Swift
public private(set) var detailedReason: String? { get }
-
Constructs an
OmidFriendlyObstruction
.Declaration
Swift
@objc public init(view: UIView, purpose: OmidFriendlyObstructionPurpose, detailedReason: String?)
Parameters
view
The view element of the friendly obstruction.
purpose
The purpose of the friendly obstruction.
detailedReason
Text to explain the reason to add the view as a friendly obstruction.