1{ 2 "methods": { 3 "addCamera(java.lang.String,android.hardware.camera2.CameraCharacteristics)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [ 9 "cameraId", 10 "characteristics" 11 ], 12 "returnType": "void", 13 "exceptions": [], 14 "name": "addCamera(java.lang.String,android.hardware.camera2.CameraCharacteristics)", 15 "documentation": "Adds the given cameraId and characteristics to this shadow.\n\n\u003cp\u003eThe result from {@link #getCameraIdList()} will be in the order in which cameras were added.\n\n@throws IllegalArgumentException if there\u0027s already an existing camera with the given id.\n" 16 }, 17 "getCameraCharacteristics(java.lang.String)": { 18 "isImplementation": true, 19 "modifiers": [ 20 "protected" 21 ], 22 "params": [ 23 "cameraId" 24 ], 25 "returnType": "android.hardware.camera2.CameraCharacteristics", 26 "exceptions": [], 27 "name": "getCameraCharacteristics(java.lang.String)" 28 }, 29 "getCameraIdList()": { 30 "isImplementation": true, 31 "modifiers": [ 32 "protected" 33 ], 34 "params": [], 35 "returnType": "java.lang.String[]", 36 "exceptions": [ 37 "android.hardware.camera2.CameraAccessException" 38 ], 39 "name": "getCameraIdList()" 40 } 41 }, 42 "imports": [ 43 "android.annotation.NonNull", 44 "android.hardware.camera2.CameraAccessException", 45 "android.hardware.camera2.CameraCharacteristics", 46 "android.hardware.camera2.CameraManager", 47 "android.os.Build.VERSION_CODES", 48 "com.google.common.base.Preconditions", 49 "java.util.LinkedHashMap", 50 "java.util.Map", 51 "java.util.Set", 52 "org.robolectric.annotation.Implementation", 53 "org.robolectric.annotation.Implements" 54 ], 55 "name": "org.robolectric.shadows.ShadowCameraManager" 56}