9 #import <Foundation/Foundation.h> 10 #import "MasTrackedImage.h" 24 typedef NS_ENUM(int, MasFocusMode) {
25 FOCUS_MODE_CONTINUOUS_AUTO = 1,
35 typedef NS_ENUM(
int, MasFlipDirection) {
51 typedef NS_ENUM(
int, MasResultCode) {
54 CameraPermissionIsNotResolved = 100,
55 CameraDevicedRestriced = 101,
56 CameraPermissionIsNotGranted = 102,
57 CameraAlreadyOpened = 103,
59 TrackerAlreadyStarted = 200,
71 - (MasResultCode) start:(
int) cameraId width:(
int) width height:(
int) height;
91 - (bool) setFocusMode:(MasFocusMode) mode;
96 - (bool) setFlashLightMode:(
bool) toggle;
101 - (bool) setAutoWhiteBalanceLock:(
bool) toggle;
108 - (void) flipVideo:(MasFlipDirection) direction toggle:(
bool) toggle;
114 - (NSMutableArray*) getParamList;
122 - (bool) setParam:(NSString*) key toggle:(
bool) toggle;
130 - (bool) setParam:(NSString*) key value:(
int) value;
139 - (bool) setParam:(NSString*) key min:(
int) min max:(
int) max;
147 - (bool) setParam:(NSString*) key valueString:(NSString*) value;
157 - (void) setNewFrame:(Byte *) data length:(
int) length width:(
int) width height:(
int) height format:(MasColorFormat) format;
159 - (void) setNewFrameAndTimestamp:(Byte *) data length:(
int) length width:(
int) width height:(
int) height format:(MasColorFormat) format timestamp:(
unsigned long long int) timestamp;
164 - (matrix_float4x4) getProjectionMatrix;
170 - (matrix_float4x4) getBackgroundPlaneProjectionMatrix;
class for camera device handling
Definition: MasCameraDevice.h:16