Republic Project MRAID SDK  1.0
 All Classes Functions Properties
RPModalKit.h
1 //
2 // Copyright 2012 ArcTouch, Inc.
3 // All rights reserved.
4 //
5 // This file, its contents, concepts, methods, behavior, and operation
6 // (collectively the "Software") are protected by trade secret, patent,
7 // and copyright laws. The use of the Software is governed by a license
8 // agreement. Disclosure of the Software to third parties, in any form,
9 // in whole or in part, is expressly prohibited except as authorized by
10 // the license agreement.
11 //
12 #import <UIKit/UIKit.h>
13 
14 
15 @protocol RPModalKitDelegate;
16 
20 @interface RPModalKit : NSObject
21 
22 @property (nonatomic, assign) id<RPModalKitDelegate> delegate;
23 @property (nonatomic, strong) NSString *currentId;
24 
30 - (id)initWithViewController:(UIViewController *)viewController;
31 
36 - (void)showVideoPlayer:(NSDictionary *)urlDictionary;
37 
38 @end
39 
40 
41 @protocol RPModalKitDelegate <NSObject>
42 
43 - (void)modalKit:(RPModalKit *)modalKit didFinishShowingVideoPlayer:(BOOL)success;
44 
45 @end