ppsspp/ios/CameraHelper.h
Florin9doi 5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00

18 lines
421 B
Objective-C

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@protocol CameraFrameDelegate <NSObject>
@required
- (void) PushCameraImageIOS:(long long)len buffer:(unsigned char*)data;
@end
@interface CameraHelper : NSObject<AVCaptureVideoDataOutputSampleBufferDelegate>
@property (nonatomic, strong) id<CameraFrameDelegate> delegate;
- (int) checkPermission;
- (void) startVideo;
- (void) stopVideo;
@end