Skip to content

Commit 0c0c428

Browse files
v4.1.2
1 parent 358cf22 commit 0c0c428

16 files changed

+666
-410
lines changed
Lines changed: 217 additions & 136 deletions
Large diffs are not rendered by default.
Lines changed: 218 additions & 137 deletions
Large diffs are not rendered by default.
Lines changed: 217 additions & 136 deletions
Large diffs are not rendered by default.

TeadsSDK-Xcode9.4/TeadsSDK-Xcode9.4.framework/Headers/TeadsSDK-Swift.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,15 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK13TFAAdDelegate_")
261261
///
262262
- (void)adPlaybackChange:(TFACustomAdView * _Nonnull)ad state:(enum TeadsAdPlaybackState)state;
263263
/// Called when ad changes volume state
264+
/// @deprecated since 4.1.2 please use TFASoundDelegate instead
264265
/// \param ad The teadsAd object
265266
///
266267
/// \param muted true if the sound is off false otherwise
267268
///
268269
- (void)adDidChangeVolume:(TFACustomAdView * _Nonnull)ad muted:(BOOL)muted;
269270
@end
270271

272+
@protocol TFASoundDelegate;
271273
@class NSCoder;
272274
@class TeadsAdSettings;
273275

@@ -282,6 +284,7 @@ SWIFT_CLASS("_TtC8TeadsSDK15TFACustomAdView")
282284
/// Ad sound enabled state
283285
@property (nonatomic, readonly) BOOL isSoundActive;
284286
@property (nonatomic, weak) id <TFAAdDelegate> _Nullable delegate;
287+
@property (nonatomic, weak) id <TFASoundDelegate> _Nullable soundDelegate;
285288
@property (nonatomic) NSInteger pid;
286289
@property (nonatomic) CGRect bounds;
287290
@property (nonatomic) CGRect frame;
@@ -411,8 +414,18 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK21TFARewardedAdDelegate_")
411414
@end
412415

413416

417+
SWIFT_PROTOCOL("_TtP8TeadsSDK16TFASoundDelegate_")
418+
@protocol TFASoundDelegate
419+
/// Called when the ad will start playing audio
420+
- (void)adWillStartPlayingAudio:(TFACustomAdView * _Nonnull)ad;
421+
/// Called when the ad will stop playing audio
422+
- (void)adDidStopPlayingAudio:(TFACustomAdView * _Nonnull)ad;
423+
@end
424+
425+
414426
SWIFT_CLASS("_TtC8TeadsSDK15TeadsAdSettings")
415427
@interface TeadsAdSettings : NSObject
428+
- (void)disableTeadsAudioSessionManagement;
416429
- (void)enableDebug;
417430
- (void)disableLocation;
418431
- (void)enableLigtEndScreen;
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)