AATDelegate
@objc public protocol AATDelegate: AnyObject {
/// Notifies that AATKit has obtained rules
/// - Parameter fromTheServer: Indicates if the rules came from the server. It will return false if the currently used rules come from the `AATSDK.setInitialRules(rules:)` method or the cached rules are used.
@objc optional func AATKitObtainedAdRules(fromTheServer: Bool)
/// Notifies that application's bundle ID was not recognized by the AddApptr server.
@objc optional func AATKitUnknownBundleId()
}
@protocol AATDelegate
@optional
/// Notifies that AATKit has obtained rules
/// \param fromTheServer Indicates if the rules came from the server. It will return false if the currently used rules come from the <code>AATSDK.setInitialRules(rules:)</code> method or the cached rules are used.
- (void)AATKitObtainedAdRulesFromTheServer:(BOOL)fromTheServer;
/// Notifies that application’s bundle ID was not recognized by the AddApptr server.
- (void)AATKitUnknownBundleId;
@end
Last updated