1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
use ReflectComponent;
use Component;
use Reflect;
/// Exclusive-ownership state reported by a provider alongside `crate::Presence`.
///
/// `Claim` records a platform fact, not the policy that Hana should use. A camera can be present
/// while another process owns its capture stream, so reconciliation keeps `Claim` independent of
/// `Presence` before deciding whether output is permitted.
/// Information the platform provides about a process that contends for a device.
///
/// A missing name is not represented with `Option<String>` because macOS can report camera
/// contention while withholding every process identity; that diagnosis differs from an empty
/// process-name string.
/// Permission class that prevented a provider from claiming an otherwise visible device.
///
/// Providers report a `PermissionGate` instead of opaque text because remediation can depend on
/// the class: opening camera privacy settings differs from enabling screen recording.