Republic Project MRAID SDK  1.0
 All Classes Functions Properties
RPModalKit Class Reference

#import <RPModalKit.h>

Inheritance diagram for RPModalKit:

Instance Methods

(id) - initWithViewController:
 
(void) - showVideoPlayer:
 

Properties

id< RPModalKitDelegatedelegate
 
NSString * currentId
 

Detailed Description

Class to show a video in modal mode

Method Documentation

- (id) initWithViewController: (UIViewController *)  viewController

Inits the class with a view controller

Parameters
viewControllerView controller where to present the iOS video view controller
Returns
The newly initialized modal kit
- (void) showVideoPlayer: (NSDictionary *)  urlDictionary

Shows the video player and plays the specified URL

Parameters
videoUrlURL with the video to play