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)
2
2
#pragma clang diagnostic push
3
3
#pragma clang diagnostic ignored "-Wgcc-compat"
4
4
@@ -221,20 +221,9 @@ SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
221
221
@property (nonatomic, copy) NSString * _Nonnull errorMessage;
222
222
- (nonnull instancetype )initWithErrorCode:(enum AdErrorCode)errorCode errorMessage:(NSString * _Nonnull)errorMessage OBJC_DESIGNATED_INITIALIZER;
223
223
- (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" );
225
225
@end
226
226
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
-
238
227
239
228
240
229
@class TFAAdView;
@@ -319,7 +308,6 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
319
308
- (void )willMoveToSuperview:(UIView * _Nullable)newSuperview;
320
309
- (void )didMoveToSuperview;
321
310
- (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:)" );
323
311
- (nullable instancetype )initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
324
312
// / Request an ad from Teads ad server
325
313
// / \param teadsAdSettings Optionnal <code>TeadsAdSettings</code> to define custom settings
@@ -339,7 +327,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
339
327
// / Reset ad loading
340
328
- (void )reset;
341
329
// / 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. " );
343
331
@end
344
332
345
333
typedef SWIFT_ENUM (NSInteger , TeadsAdPlaybackState, closed) {
@@ -400,7 +388,7 @@ SWIFT_CLASS("_TtC8TeadsSDK17TFAInterstitialAd")
400
388
- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
401
389
- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
402
390
- (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" );
404
392
@end
405
393
406
394
@@ -424,7 +412,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAReward")
424
412
@property (nonatomic, copy) NSString * _Nullable type;
425
413
@property (nonatomic) double amount;
426
414
- (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" );
428
416
@end
429
417
430
418
@protocol TFARewardedAdDelegate;
@@ -449,7 +437,7 @@ SWIFT_CLASS("_TtC8TeadsSDK13TFARewardedAd")
449
437
- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
450
438
- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
451
439
- (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" );
453
441
@end
454
442
455
443
@@ -484,14 +472,15 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
484
472
- (void )disableTeadsAudioSessionManagement;
485
473
- (void )enableDebug;
486
474
- (void )disableLocation;
487
- - (void )enableLigtEndScreen;
475
+ - (void )enableLigtEndScreen SWIFT_DEPRECATED_MSG (" use enableLightEndScreen" );
476
+ - (void )enableLightEndScreen;
488
477
- (void )disableMediaPreload;
489
478
- (void )pageUrl:(NSString * _Nonnull)urlString;
490
479
- (void )userConsentWithSubjectToGDPR:(NSString * _Nonnull)subjectToGDPR consent:(NSString * _Nonnull)consent;
491
480
- (void )disableBatteryMonitoring;
492
481
- (nonnull instancetype )initWithBuild:(SWIFT_NOESCAPE void (^ _Nonnull)(TeadsAdSettings * _Nonnull))build OBJC_DESIGNATED_INITIALIZER;
493
482
- (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" );
495
484
@end
496
485
497
486
@@ -504,6 +493,8 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
504
493
505
494
506
495
496
+
497
+
507
498
#if __has_attribute(external_source_symbol)
508
499
# pragma clang attribute pop
509
500
#endif
0 commit comments