RichieAdsView
Objective-C
@interface RichieAdsView : UIView
@property (nonatomic, readonly, nonnull) NSString *adIdentifier;
-(void) didAppear; //!< MUST be called by host application when RichieAdsView becomes visible on screen and can be interacted by the user. NOTE: implementation cause heavy operations, don't call while app must stay responsive. Do not call this method until the view is actually visible on screen and the user is able to begin interacting with it. Calling this method prematurely will cause possible animations and timers of creatives to be wrong.
-(void) didDisappear; //!< MUST be called by host application when RichieAdsView is not visible on screen and user cannot interact with it anymore. This method automatically does nothing if a modal viewController is presented over the -richieView:viewControllerForPresentingModalInAppBrowserForURL:.
-(void) preloadAdContent; //!< Can be called to hint the RichieAdsView to preload HTML ad content without making it active. This operation can be heavy and it can cause performance issues and increased memory usage. Use with caution.
-(void) invalidate; //!< SHOULD be called when view is removed from view hierarchy and discarded.
-(void) setMaximumResizeSize:(CGSize)maximumResizeSize; //!< SHOULD be called when view is laid out, so it can provide the information for MRAID compliant creative.
@property (nonatomic, readonly, weak, nullable) id<RichieAdsViewDelegate> delegate;
@end
Swift
class RichieAdsView : UIView
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *adIdentifier
Swift
var adIdentifier: String { get }
-
Undocumented
Declaration
Objective-C
- (void)didAppear;
Swift
func didAppear()
-
Undocumented
Declaration
Objective-C
- (void)didDisappear;
Swift
func didDisappear()
-
Undocumented
Declaration
Objective-C
- (void)preloadAdContent;
Swift
func preloadAdContent()
-
Undocumented
Declaration
Objective-C
- (void)invalidate;
Swift
func invalidate()
-
Undocumented
Declaration
Objective-C
- (void)setMaximumResizeSize:(CGSize)maximumResizeSize;
Swift
func setMaximumResize(_ maximumResizeSize: CGSize)
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, weak, nullable) id<RichieAdsViewDelegate> delegate
Swift
weak var delegate: (any RichieAdsViewDelegate)? { get }