SliderAdDelegate
@objc(YMASliderAdDelegate)
@MainActor
public protocol SliderAdDelegate : NSObjectProtocol
Undocumented
-
Notifies that the user has clicked on the ad.
Declaration
Swift
@objc @MainActor func sliderAdDidClick(_ ad: SliderAd)Parameters
adA reference to the object that invoked the method.
-
Notifies delegate when an impression was tracked.
Declaration
Swift
@objc(sliderAd:didTrackImpressionWithData:) @MainActor func sliderAd(_ ad: SliderAd, didTrackImpression impressionData: ImpressionData?)Parameters
adA reference to the object that invoked the method.
impressionDataAd impression-level revenue data