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
viewThe view element of the friendly obstruction.
purposeThe purpose of the friendly obstruction.
detailedReasonText to explain the reason to add the view as a friendly obstruction.
OmidFriendlyObstruction Class Reference