diff --git a/Sources/MuxStatsGoogleIMAPlugin/MUXSDKIMAAdsListener.m b/Sources/MuxStatsGoogleIMAPlugin/MUXSDKIMAAdsListener.m index ef0856e..86e50ce 100644 --- a/Sources/MuxStatsGoogleIMAPlugin/MUXSDKIMAAdsListener.m +++ b/Sources/MuxStatsGoogleIMAPlugin/MUXSDKIMAAdsListener.m @@ -50,7 +50,8 @@ - (instancetype)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding _adRequestReported = NO; _sendAdplayOnStarted = NO; } - return(self); + + return self; } - (void)monitorAdsManager:(IMAAdsManager *)adsManager { diff --git a/Sources/MuxStatsGoogleIMAPlugin/include/MUXSDKIMAAdsListener.h b/Sources/MuxStatsGoogleIMAPlugin/include/MUXSDKIMAAdsListener.h index be773bc..6a92fb9 100644 --- a/Sources/MuxStatsGoogleIMAPlugin/include/MUXSDKIMAAdsListener.h +++ b/Sources/MuxStatsGoogleIMAPlugin/include/MUXSDKIMAAdsListener.h @@ -28,9 +28,9 @@ typedef NS_OPTIONS(NSUInteger, MUXSDKIMAAdsListenerOptions) { @property (nonatomic, weak, nullable) id customerAdsManagerDelegate; @property (nonatomic, weak, nullable) id customerAdsLoaderDelegate; -- (id)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding +- (instancetype)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding monitoringAdsLoader:(nullable IMAAdsLoader *)adsLoader; -- (id)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding +- (instancetype)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding options:(MUXSDKIMAAdsListenerOptions)options monitoringAdsLoader:(nullable IMAAdsLoader *)adsLoader; - (void)monitorAdsManager:(IMAAdsManager *)adsManager; diff --git a/Sources/MuxStatsGoogleIMAPlugin/include/MuxImaListener.h b/Sources/MuxStatsGoogleIMAPlugin/include/MuxImaListener.h index 78d5c27..5f503b8 100644 --- a/Sources/MuxStatsGoogleIMAPlugin/include/MuxImaListener.h +++ b/Sources/MuxStatsGoogleIMAPlugin/include/MuxImaListener.h @@ -30,9 +30,9 @@ NS_CLASS_DEPRECATED_IOS(2_0, 12_0, "Use MUXSDKIMAAdsListener instead.") @property (nonatomic, weak, nullable) id customerAdsManagerDelegate; @property (nonatomic, weak, nullable) id customerAdsLoaderDelegate; -- (id)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding +- (instancetype)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding monitoringAdsLoader:(nullable IMAAdsLoader *)adsLoader; -- (id)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding +- (instancetype)initWithPlayerBinding:(MUXSDKPlayerBinding *)binding options:(MuxImaListenerOptions)options monitoringAdsLoader:(nullable IMAAdsLoader *)adsLoader; - (void)monitorAdsManager:(IMAAdsManager *)adsManager;