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
11
namespace
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.
15
struct
CameraInventory
{
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.
22
absl::StatusOr<CameraInventory>
DiscoverCameras
();
23
24
}
// namespace symbian::api::camera
25
26
#endif
// SYMBIAN_API_CAMERA_CAMERA_H_
symbian::api::camera
Definition
camera.cc:9
symbian::api::camera::DiscoverCameras
absl::StatusOr< CameraInventory > DiscoverCameras()
Definition
camera.cc:11
symbian::api::camera::CameraInventory
Definition
camera.h:15
symbian::api::camera::CameraInventory::available_count
std::uint32_t available_count
Definition
camera.h:17
cpp
symbian
api
include
symbian
api
camera
camera.h
Generated by
1.9.8