25 lines
665 B
Objective-C
25 lines
665 B
Objective-C
//
|
|
// Created by 范大德 on 2021/10/9.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <Cordova/CDVCommandDelegate.h>
|
|
|
|
@protocol CDVCommandDelegate;
|
|
|
|
|
|
@interface SGRecordOptions : NSObject
|
|
|
|
@property (nonatomic, weak) id <CDVCommandDelegate> commandDelegate;
|
|
@property (strong) NSString* callbackId;
|
|
@property (assign) NSInteger frameRate;
|
|
@property (assign) NSInteger bitRate;
|
|
@property (assign) NSInteger width;
|
|
@property (assign) NSInteger height;
|
|
@property (assign) NSInteger limit;// 录制视频最短时间
|
|
@property (assign) NSInteger duration;
|
|
|
|
+ (instancetype) createFromArguments:(CDVInvokedUrlCommand*)command;
|
|
@end
|
|
|