1
- // Generated by Apple Swift version 5.0.1 effective-4.2 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
1
+ // Generated by Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
2
2
#pragma clang diagnostic push
3
3
#pragma clang diagnostic ignored "-Wgcc-compat"
4
4
@@ -206,20 +206,9 @@ SWIFT_CLASS("_TtC8TeadsSDK12AdFailReason")
206
206
@property (nonatomic, copy) NSString * _Nonnull errorMessage;
207
207
- (nonnull instancetype )initWithErrorCode:(enum AdErrorCode)errorCode errorMessage:(NSString * _Nonnull)errorMessage OBJC_DESIGNATED_INITIALIZER;
208
208
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
209
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
209
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
210
210
@end
211
211
212
- typedef SWIFT_ENUM (NSInteger , CommanderWebViewState, closed) {
213
- CommanderWebViewStateError = -1 ,
214
- CommanderWebViewStateIdle = 0 ,
215
- CommanderWebViewStateLoading = 1 ,
216
- CommanderWebViewStateLoaded = 2 ,
217
- CommanderWebViewStateEngineLoaded = 3 ,
218
- CommanderWebViewStateCommanderReady = 4 ,
219
- };
220
-
221
-
222
-
223
212
224
213
225
214
@class TFAAdView;
@@ -304,7 +293,6 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
304
293
- (void )willMoveToSuperview:(UIView * _Nullable)newSuperview;
305
294
- (void )didMoveToSuperview;
306
295
- (nonnull instancetype )initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
307
- - (nonnull instancetype )initWithPid:(NSString * _Nonnull)pid delegate:(id <TFAAdDelegate> _Nullable)delegate SWIFT_DEPRECATED_MSG (" use init(withPid: andDelegate:)" );
308
296
- (nullable instancetype )initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
309
297
// / Request an ad from Teads ad server
310
298
// / \param teadsAdSettings Optionnal <code>TeadsAdSettings</code> to define custom settings
@@ -324,7 +312,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAAdView")
324
312
// / Reset ad loading
325
313
- (void )reset;
326
314
// / 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
327
- - (void )slotReached SWIFT_DEPRECATED_MSG (" Use setAdContainerView instead " );
315
+ - (void )slotReached SWIFT_DEPRECATED_MSG (" it is no longer needed to monitor your inventory. " );
328
316
@end
329
317
330
318
typedef SWIFT_ENUM (NSInteger , TeadsAdPlaybackState, closed) {
@@ -385,7 +373,7 @@ SWIFT_CLASS("_TtC8TeadsSDK17TFAInterstitialAd")
385
373
- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
386
374
- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
387
375
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
388
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
376
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
389
377
@end
390
378
391
379
@@ -409,7 +397,7 @@ SWIFT_CLASS("_TtC8TeadsSDK9TFAReward")
409
397
@property (nonatomic, copy) NSString * _Nullable type;
410
398
@property (nonatomic) double amount;
411
399
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
412
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
400
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
413
401
@end
414
402
415
403
@protocol TFARewardedAdDelegate;
@@ -434,7 +422,7 @@ SWIFT_CLASS("_TtC8TeadsSDK13TFARewardedAd")
434
422
- (void )adBrowserDidOpen:(TFAAdView * _Nonnull)ad;
435
423
- (void )adBrowserDidClose:(TFAAdView * _Nonnull)ad;
436
424
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
437
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
425
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
438
426
@end
439
427
440
428
@@ -469,14 +457,15 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
469
457
- (void )disableTeadsAudioSessionManagement;
470
458
- (void )enableDebug;
471
459
- (void )disableLocation;
472
- - (void )enableLigtEndScreen;
460
+ - (void )enableLigtEndScreen SWIFT_DEPRECATED_MSG (" use enableLightEndScreen" );
461
+ - (void )enableLightEndScreen;
473
462
- (void )disableMediaPreload;
474
463
- (void )pageUrl:(NSString * _Nonnull)urlString;
475
464
- (void )userConsentWithSubjectToGDPR:(NSString * _Nonnull)subjectToGDPR consent:(NSString * _Nonnull)consent;
476
465
- (void )disableBatteryMonitoring;
477
466
- (nonnull instancetype )initWithBuild:(SWIFT_NOESCAPE void (^ _Nonnull)(TeadsAdSettings * _Nonnull))build OBJC_DESIGNATED_INITIALIZER;
478
467
- (nonnull instancetype )init SWIFT_UNAVAILABLE;
479
- + (nonnull instancetype )new SWIFT_DEPRECATED_MSG (" -init is unavailable" );
468
+ + (nonnull instancetype )new SWIFT_UNAVAILABLE_MSG (" -init is unavailable" );
480
469
@end
481
470
482
471
@@ -489,6 +478,8 @@ SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
489
478
490
479
491
480
481
+
482
+
492
483
#if __has_attribute(external_source_symbol)
493
484
# pragma clang attribute pop
494
485
#endif
0 commit comments