Sha256: 3faddc451c1bc611b6c018374c6435659ad27a368a6583ca4a0473765cf9d5bc
Contents?: true
Size: 1.38 KB
Versions: 17
Compression:
Stored size: 1.38 KB
Contents
#import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <AVFoundation/AVFoundation.h> #include "ruby/ext/rho/rhoruby.h" #define VIDEO_CAPTURE_DURATION @"duration" #define VIDEO_CAPTURE_DESTINATION @"destination" #define VIDEO_CAPTURE_NAME @"name" #define VIDEO_CAPTURE_SAVE_EVENT @"videoSaveEvent" @interface RhoVideoCapture: NSObject <UIImagePickerControllerDelegate> { NSString* callbackURL; int duration; NSString* destination; BOOL isSaveFile; UIImagePickerController* moviePickerController; NSString* recorderFilePath; } @property (readwrite, copy) NSString *callbackURL; @property (readwrite, copy) NSString *destination; @property (readwrite, copy) NSString *recorderFilePath; @property (readwrite, assign) int duration; @property (readwrite, assign) UIImagePickerController* moviePickerController; + (RhoVideoCapture*) getInstance; - (VALUE) getProperty:(NSString*)property_name; - (void) setProperty:(NSString*)property_name value:(NSString*)value; - (void) start; - (void) stop; - (void) cancel; - (void) fireCallback:(NSString*)status param_name:(NSString*)param_name param_value:(NSString*)param_value; // UIImagePickerControllerDelegate - (void) imagePickerControllerDidCancel: (UIImagePickerController *) picker; - (void) imagePickerController: (UIImagePickerController *) picker didFinishPickingMediaWithInfo: (NSDictionary *) info; @end
Version data entries
17 entries across 17 versions & 2 rubygems