Skip to content

Commit

Permalink
Release new version: 5.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Aug 24, 2022
1 parent 6ee526f commit 6d15875
Show file tree
Hide file tree
Showing 38 changed files with 223 additions and 138 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
typedef SWIFT_ENUM(NSInteger, MediaScale, open) {
/// Contents scaled to fill with fixed aspect. some portion of content may be clipped.
/// Behaviour is similar to <code>UIView.ContentMode.scaleToFill</code>.
Expand Down Expand Up @@ -533,8 +534,8 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK24TeadsAdPlacementDelegate_")
@end


/// Specify which parameters you want to set for your Teads placement.
/// These parameters will be persisted for the entire placement lifecycle.
/// Specify which settings you want to set for your Teads placement.
/// Those settings will be persisted for the entire placement lifecycle.
SWIFT_CLASS("_TtC8TeadsSDK24TeadsAdPlacementSettings")
@interface TeadsAdPlacementSettings : NSObject
/// <em>Teads Crash Monitoring</em> is a tool we use to monitor crashes that may occur ONLY IN OUR SDK.
Expand Down Expand Up @@ -624,8 +625,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
@end


/// Specify which parameters you want to set for the related ad request.
/// These parameters will be persisted for the ad lifecycle only.
/// Specify which settings you want to set for the related ad request.
/// Those settings will be persisted for the ad lifecycle only.
SWIFT_CLASS("_TtC8TeadsSDK22TeadsAdRequestSettings")
@interface TeadsAdRequestSettings : NSObject
/// The Teads inApp Validation tool is the best way to ensure all basic features and prerequisites are correctly implemented.
Expand Down Expand Up @@ -667,6 +668,11 @@ SWIFT_CLASS("_TtC8TeadsSDK11TeadsAdView")

@protocol TeadsMediatedAdViewDelegate;

/// Settings used to load Teads’ mediation adapter ads
/// Specify which setting you want to set for the related mediation request.
/// Those settings will be persisted for the ad lifecycle only.
/// important:
/// Only relevant when using mediation adapter such as <a href="https://support.teads.tv/support/solutions/articles/36000314767-inread-google-ad-manager-and-admob-mediation">AdMob</a> or <a href="https://support.teads.tv/support/solutions/articles/36000357700-inread-applovin-mediation">AppLovin</a>
SWIFT_CLASS("_TtC8TeadsSDK20TeadsAdapterSettings")
@interface TeadsAdapterSettings : NSObject
/// A value describing the native ad media scale that is being used.
Expand Down Expand Up @@ -806,15 +812,15 @@ SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
@interface TeadsInReadAdPlacement : TeadsAdPlacement
/// TeadsInReadAdPlacementDelegate to follow ad placement lifecycle
@property (nonatomic, weak) id <TeadsInReadAdPlacementDelegate> _Nullable delegate;
/// Request a native ad on this placement
/// Request an InRead ad on this placement
/// listen for events by implementing <code>TeadsInReadAdPlacementDelegate</code>
/// requires:
/// <code>TeadsInReadAdPlacement/delegate</code> property must be set to perform ad request, otherwise didReceiveAd will not be triggered
/// \param requestSettings settings <code>TeadsNativeAdRequestSettings</code> to tweak your needs
/// \param requestSettings settings <code>TeadsInReadAdRequestSettings</code> to tweak your needs
///
///
/// returns:
/// a unique request identifier, this identifier will be the same value of TeadsNativeAd requestIdentifier property
/// a unique request identifier, this identifier will be the same value of <code>TeadsInReadAd.requestIdentifier</code> property
- (NSUUID * _Nonnull)requestAdWithRequestSettings:(TeadsAdRequestSettings * _Nonnull)requestSettings;
@end

Expand Down Expand Up @@ -1083,13 +1089,13 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea




@interface UIButton (SWIFT_EXTENSION(TeadsSDK))
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
@end




@interface UIImageView (SWIFT_EXTENSION(TeadsSDK))
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
@end
Expand All @@ -1116,6 +1122,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea




/// Native video component containing media content
/// note:
/// In order to render VideoComponent, you need to instanciate a <code>TeadsMediaView</code> by calling <code>TeadsMediaView/init(videoComponent:)</code>
Expand Down Expand Up @@ -1455,6 +1462,7 @@ SWIFT_CLASS("_TtC8TeadsSDK14ImageComponent")
- (void)loadImageWithAsync:(BOOL)async success:(void (^ _Nullable)(UIImage * _Nonnull))success failure:(void (^ _Nullable)(NSError * _Nonnull))failure;
@end

/// A flag used to determine how TeadsMediaView lays out its content when its bounds change.
typedef SWIFT_ENUM(NSInteger, MediaScale, open) {
/// Contents scaled to fill with fixed aspect. some portion of content may be clipped.
/// Behaviour is similar to <code>UIView.ContentMode.scaleToFill</code>.
Expand Down Expand Up @@ -1665,8 +1673,8 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK24TeadsAdPlacementDelegate_")
@end


/// Specify which parameters you want to set for your Teads placement.
/// These parameters will be persisted for the entire placement lifecycle.
/// Specify which settings you want to set for your Teads placement.
/// Those settings will be persisted for the entire placement lifecycle.
SWIFT_CLASS("_TtC8TeadsSDK24TeadsAdPlacementSettings")
@interface TeadsAdPlacementSettings : NSObject
/// <em>Teads Crash Monitoring</em> is a tool we use to monitor crashes that may occur ONLY IN OUR SDK.
Expand Down Expand Up @@ -1756,8 +1764,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
@end


/// Specify which parameters you want to set for the related ad request.
/// These parameters will be persisted for the ad lifecycle only.
/// Specify which settings you want to set for the related ad request.
/// Those settings will be persisted for the ad lifecycle only.
SWIFT_CLASS("_TtC8TeadsSDK22TeadsAdRequestSettings")
@interface TeadsAdRequestSettings : NSObject
/// The Teads inApp Validation tool is the best way to ensure all basic features and prerequisites are correctly implemented.
Expand Down Expand Up @@ -1799,6 +1807,11 @@ SWIFT_CLASS("_TtC8TeadsSDK11TeadsAdView")

@protocol TeadsMediatedAdViewDelegate;

/// Settings used to load Teads’ mediation adapter ads
/// Specify which setting you want to set for the related mediation request.
/// Those settings will be persisted for the ad lifecycle only.
/// important:
/// Only relevant when using mediation adapter such as <a href="https://support.teads.tv/support/solutions/articles/36000314767-inread-google-ad-manager-and-admob-mediation">AdMob</a> or <a href="https://support.teads.tv/support/solutions/articles/36000357700-inread-applovin-mediation">AppLovin</a>
SWIFT_CLASS("_TtC8TeadsSDK20TeadsAdapterSettings")
@interface TeadsAdapterSettings : NSObject
/// A value describing the native ad media scale that is being used.
Expand Down Expand Up @@ -1938,15 +1951,15 @@ SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
@interface TeadsInReadAdPlacement : TeadsAdPlacement
/// TeadsInReadAdPlacementDelegate to follow ad placement lifecycle
@property (nonatomic, weak) id <TeadsInReadAdPlacementDelegate> _Nullable delegate;
/// Request a native ad on this placement
/// Request an InRead ad on this placement
/// listen for events by implementing <code>TeadsInReadAdPlacementDelegate</code>
/// requires:
/// <code>TeadsInReadAdPlacement/delegate</code> property must be set to perform ad request, otherwise didReceiveAd will not be triggered
/// \param requestSettings settings <code>TeadsNativeAdRequestSettings</code> to tweak your needs
/// \param requestSettings settings <code>TeadsInReadAdRequestSettings</code> to tweak your needs
///
///
/// returns:
/// a unique request identifier, this identifier will be the same value of TeadsNativeAd requestIdentifier property
/// a unique request identifier, this identifier will be the same value of <code>TeadsInReadAd.requestIdentifier</code> property
- (NSUUID * _Nonnull)requestAdWithRequestSettings:(TeadsAdRequestSettings * _Nonnull)requestSettings;
@end

Expand Down Expand Up @@ -2215,13 +2228,13 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea




@interface UIButton (SWIFT_EXTENSION(TeadsSDK))
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
@end




@interface UIImageView (SWIFT_EXTENSION(TeadsSDK))
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
@end
Expand All @@ -2248,6 +2261,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea




/// Native video component containing media content
/// note:
/// In order to render VideoComponent, you need to instanciate a <code>TeadsMediaView</code> by calling <code>TeadsMediaView/init(videoComponent:)</code>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ extension UIKit.UIButton {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class TeadsAdPlacementSettings : ObjectiveC.NSObject, Swift.Codable {
public static let pluginKey: Swift.String
public static let pluginFlutter: Swift.String
public static let pluginReactNative: Swift.String
public static let pluginVersionKey: Swift.String
@objc final public func disableCrashMonitoring()
@objc final public func disableTeadsAudioSessionManagement()
@objc final public func enableDebug()
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ extension UIKit.UIButton {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class TeadsAdPlacementSettings : ObjectiveC.NSObject, Swift.Codable {
public static let pluginKey: Swift.String
public static let pluginFlutter: Swift.String
public static let pluginReactNative: Swift.String
public static let pluginVersionKey: Swift.String
@objc final public func disableCrashMonitoring()
@objc final public func disableTeadsAudioSessionManagement()
@objc final public func enableDebug()
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ extension UIKit.UIButton {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class TeadsAdPlacementSettings : ObjectiveC.NSObject, Swift.Codable {
public static let pluginKey: Swift.String
public static let pluginFlutter: Swift.String
public static let pluginReactNative: Swift.String
public static let pluginVersionKey: Swift.String
@objc final public func disableCrashMonitoring()
@objc final public func disableTeadsAudioSessionManagement()
@objc final public func enableDebug()
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ extension UIKit.UIButton {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class TeadsAdPlacementSettings : ObjectiveC.NSObject, Swift.Codable {
public static let pluginKey: Swift.String
public static let pluginFlutter: Swift.String
public static let pluginReactNative: Swift.String
public static let pluginVersionKey: Swift.String
@objc final public func disableCrashMonitoring()
@objc final public func disableTeadsAudioSessionManagement()
@objc final public func enableDebug()
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ extension UIKit.UIButton {
@objc deinit
}
@_inheritsConvenienceInitializers @objc final public class TeadsAdPlacementSettings : ObjectiveC.NSObject, Swift.Codable {
public static let pluginKey: Swift.String
public static let pluginFlutter: Swift.String
public static let pluginReactNative: Swift.String
public static let pluginVersionKey: Swift.String
@objc final public func disableCrashMonitoring()
@objc final public func disableTeadsAudioSessionManagement()
@objc final public func enableDebug()
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 6d15875

Please sign in to comment.