1- // Generated by Apple Swift version 5.1 effective-4.2 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
1+ // Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
22#pragma clang diagnostic push
33#pragma clang diagnostic ignored "-Wgcc-compat"
44
@@ -221,20 +221,9 @@ SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
221221@property (nonatomic, copy) NSString * _Nonnull errorMessage;
222222- (nonnull instancetype )initWithErrorCode:(enum AdErrorCode)errorCode errorMessage:(NSString * _Nonnull)errorMessage OBJC_DESIGNATED_INITIALIZER;
223223- (nonnull instancetype )init SWIFT_UNAVAILABLE;
224- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
224+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
225225@end
226226
227- typedef SWIFT_ENUM (NSInteger , CommanderWebViewState, closed) {
228- CommanderWebViewStateError = -1 ,
229- CommanderWebViewStateIdle = 0 ,
230- CommanderWebViewStateLoading = 1 ,
231- CommanderWebViewStateLoaded = 2 ,
232- CommanderWebViewStateEngineLoaded = 3 ,
233- CommanderWebViewStateCommanderReady = 4 ,
234- };
235-
236-
237-
238227
239228
240229@class TFAAdView;
@@ -319,7 +308,6 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
319308- (void )willMoveToSuperview:(UIView * _Nullable)newSuperview;
320309- (void )didMoveToSuperview;
321310- (nonnull instancetype )initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
322- - (nonnull instancetype )initWithPid:(NSString * _Nonnull)pid delegate:(id <TFAAdDelegate> _Nullable)delegate SWIFT_DEPRECATED_MSG (" use init(withPid: andDelegate:)" );
323311- (nullable instancetype )initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
324312// / Request an ad from Teads ad server
325313// / \param teadsAdSettings Optionnal <code>TeadsAdSettings</code> to define custom settings
@@ -339,7 +327,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
339327// / Reset ad loading
340328- (void )reset;
341329// / Call that method when you did not add the TFAAdView to your to your view hierarchy or if Teads view has width/height of 0 and the container view reached the spot where the ad was supposed to be
342- - (void )slotReached SWIFT_DEPRECATED_MSG (" Use setAdContainerView instead " );
330+ - (void )slotReached SWIFT_DEPRECATED_MSG (" it is no longer needed to monitor your inventory. " );
343331@end
344332
345333typedef SWIFT_ENUM (NSInteger , TeadsAdPlaybackState, closed) {
@@ -400,7 +388,7 @@ SWIFT_CLASS("_TtC8TeadsSDK17TFAInterstitialAd")
400388- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
401389- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
402390- (nonnull instancetype )init SWIFT_UNAVAILABLE;
403- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
391+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
404392@end
405393
406394
@@ -424,7 +412,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAReward")
424412@property (nonatomic, copy) NSString * _Nullable type;
425413@property (nonatomic) double amount;
426414- (nonnull instancetype )init SWIFT_UNAVAILABLE;
427- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
415+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
428416@end
429417
430418@protocol TFARewardedAdDelegate;
@@ -449,7 +437,7 @@ SWIFT_CLASS("_TtC8TeadsSDK13TFARewardedAd")
449437- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
450438- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
451439- (nonnull instancetype )init SWIFT_UNAVAILABLE;
452- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
440+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
453441@end
454442
455443
@@ -484,14 +472,15 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
484472- (void )disableTeadsAudioSessionManagement;
485473- (void )enableDebug;
486474- (void )disableLocation;
487- - (void )enableLigtEndScreen;
475+ - (void )enableLigtEndScreen SWIFT_DEPRECATED_MSG (" use enableLightEndScreen" );
476+ - (void )enableLightEndScreen;
488477- (void )disableMediaPreload;
489478- (void )pageUrl:(NSString * _Nonnull)urlString;
490479- (void )userConsentWithSubjectToGDPR:(NSString * _Nonnull)subjectToGDPR consent:(NSString * _Nonnull)consent;
491480- (void )disableBatteryMonitoring;
492481- (nonnull instancetype )initWithBuild:(SWIFT_NOESCAPE void (^ _Nonnull)(TeadsAdSettings * _Nonnull))build OBJC_DESIGNATED_INITIALIZER;
493482- (nonnull instancetype )init SWIFT_UNAVAILABLE;
494- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
483+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
495484@end
496485
497486
@@ -504,6 +493,8 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
504493
505494
506495
496+
497+
507498#if __has_attribute(external_source_symbol)
508499# pragma clang attribute pop
509500#endif
0 commit comments