MCPcopy Create free account
hub / github.com/android/ndk-samples / CameraId

Method CameraId

camera/basic/src/main/cpp/camera_manager.h:128–134  ·  view source on GitHub ↗

we are the owner of the camera

Source from the content-addressed store, hash-verified

126 bool available_; // free to use ( no other apps are using
127 bool owner_; // we are the owner of the camera
128 explicit CameraId(const char* id)
129 : device_(nullptr),
130 facing_(ACAMERA_LENS_FACING_FRONT),
131 available_(false),
132 owner_(false) {
133 id_ = id;
134 }
135
136 explicit CameraId(void) { CameraId(""); }
137};

Callers

nothing calls this directly

Calls 1

CameraIdClass · 0.70

Tested by

no test coverage detected