#import #import #import #import #import #import #ifdef UNITYADS_INTERNAL #import #endif #ifdef UNITYADS_INTERNAL_SWIFT #import #endif NS_ASSUME_NONNULL_BEGIN @interface UnityServices : NSObject - (instancetype)init NS_UNAVAILABLE; + (instancetype)initialize NS_UNAVAILABLE; + (void) initialize: (NSString *)gameId testMode: (BOOL)testMode initializationDelegate: (nullable id)initializationDelegate; + (BOOL)getDebugMode; + (void)setDebugMode: (BOOL)enableDebugMode; + (BOOL)isSupported; + (NSString *)getVersion; + (BOOL)isInitialized; + (BOOL)adsGatewayEnabled; + (void)load: (NSString *)placementId options: (UADSLoadOptions *)options loadDelegate: (nullable id)loadDelegate; + (void)show: (UIViewController *)viewController placementId: (NSString *)placementId options: (UADSShowOptions *)options showDelegate: (nullable id)showDelegate; + (NSString *__nullable)getToken; + (void)getToken: (void (^)(NSString *_Nullable))completion; #ifdef UNITYADS_INTERNAL_SWIFT + (void)getToken:(InternalAdFormat)adFormat completion:(void (^)(NSString *_Nullable))completion; #endif @end NS_ASSUME_NONNULL_END