This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)setExposure:(float)exposureDur forISO:(float)isoValue | |
| { | |
| NSArray* availableSensors = [_session valueForKey:@"availableSensors"]; | |
| for(id sensor in availableSensors){ | |
| if ([sensor isKindOfClass:NSClassFromString(@"ARImageSensor")]) { | |
| id imageSensor = sensor; | |
| AVCaptureSession* captureSession = [imageSensor valueForKey:@"captureSession"]; | |
| AVCaptureDevice* captureDevice = [imageSensor valueForKey:@"captureDevice"]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static final String EXTRA_KEY_PERMISSIONTYPE = "PERMISSIONTYPE"; | |
| public static final String EXTRA_VALUE_VIO = "MOTION_TRACKING_PERMISSION"; | |
| public static final String EXTRA_VALUE_VIOADF = "ADF_LOAD_SAVE_PERMISSION"; | |
| // The unique request code for permission intent. | |
| private static final int PERMISSION_REQUEST_CODE = 0; | |
| protected void onResume(){ | |
| super.onResume(); |