Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
camera.h
Go to the documentation of this file.
1// Copyright 2026 The Symbian SDK Authors.
2// Licensed under the Apache License, Version 2.0.
3
4#ifndef SYMBIAN_API_CAMERA_CAMERA_H_
5#define SYMBIAN_API_CAMERA_CAMERA_H_
6
7#include <cstdint>
8
9#include "absl/status/statusor.h"
10
11namespace symbian::api::camera {
12
13// A snapshot of camera discovery. An index is meaningful only while the
14// device configuration remains unchanged; it is not a persistent identity.
16 // Number of camera slots reported by ECam. Zero means none are available.
17 std::uint32_t available_count = 0;
18};
19
20// Queries ECam without reserving a camera or beginning capture. No camera
21// permission or operating mode is inferred from the count alone.
22absl::StatusOr<CameraInventory> DiscoverCameras();
23
24} // namespace symbian::api::camera
25
26#endif // SYMBIAN_API_CAMERA_CAMERA_H_
Definition camera.cc:9
absl::StatusOr< CameraInventory > DiscoverCameras()
Definition camera.cc:11
std::uint32_t available_count
Definition camera.h:17