Flurry iOS 4.2.3
 All Classes Functions Pages
FlurryAds.h
1 //
2 // FlurryAds.h
3 // Flurry iOS Analytics Agent
4 //
5 // Copyright 2009-2013 Flurry, Inc. All rights reserved.
6 //
7 // Methods in this header file are for use by Flurry Publishers
8 
9 #import <UIKit/UIKit.h>
10 
11 typedef enum {
12  BANNER_TOP = 1,
13  BANNER_BOTTOM = 2,
14  FULLSCREEN = 3,
15 } FlurryAdSize;
16 
17 @protocol FlurryCustomAdNetwork;
18 @protocol FlurryCustomAdNetworkProperties;
19 
33 @interface FlurryAds : NSObject {
34 }
35 
77 +(void) fetchAdForSpace:(NSString*)space frame:(CGRect)frame size:(FlurryAdSize)size;
78 
111 +(BOOL) adReadyForSpace:(NSString*)space;
112 
145 + (void)displayAdForSpace:(NSString*)space onView:(UIView *)view;
146 
180  + (void)displayAdForSpace:(NSString*)space modallyForViewController:(UIViewController *)viewController;
181 
204 +(BOOL) isAdAvailableForSpace:(NSString*)space view:(UIView *)view size:(FlurryAdSize)size timeout:(int64_t)timeout __attribute__ ((deprecated));
205 
226 + (BOOL)showAdForSpace:(NSString*)space view:(UIView *)viewContainer size:(FlurryAdSize)size timeout:(int64_t)timeout __attribute__ ((deprecated));
227 
270 + (void)fetchAndDisplayAdForSpace:(NSString*)space view:(UIView *)viewContainer size:(FlurryAdSize)size;
271 
296 + (void) removeAdFromSpace:(NSString*)space;
297 
321 + (void) initialize: (UIViewController *)rvc;
322 
346 + (void)setAdDelegate:(id)delegate;
347 
369 + (void)enableTestAds:(BOOL)enable;
370 
398 + (void) setUserCookies:(NSDictionary *) userCookies;
399 
409 + (void) clearUserCookies;
410 
439 + (void) setKeywordsForTargeting:(NSDictionary*) keywords;
440 
450 + (void) clearKeywords;
451 
461 + (void) addCustomAdNetwork:(Class<FlurryCustomAdNetwork>)adNetworkClass withProperties:(id<FlurryCustomAdNetworkProperties>)adNetworkProperties;
462 
463 
464 @end