Component evidence
Cross-platform Swift enum representing authorization states for privacy-protected capabilities like camera, contacts, location, and speech.
// Source: https://github.com/MarcoDotIO/OpenClawKit | License: MIT | Copyright 2026 OpenClawKit Contributors
// Provided via justclaw.it.com; keep this notice with the code.
import Foundation
#if canImport(AVFoundation)
import AVFoundation
#endif
#if canImport(Contacts)
import Contacts
#endif
#if canImport(CoreLocation)
import CoreLocation
#endif
#if canImport(EventKit)
import EventKit
#endif
#if canImport(Photos)
import Photos
#endif
// Speech ships on tvOS, but SFSpeechRecognizer is unavailable there.
#if canImport(Speech) && !os(tvOS)
import Speech
#endif
#if canImport(UserNotifications)
import UserNotifications
#endif
/// Authorization state of one privacy-protected capability.
public enum OpenClawPermissionState: String, Sendable, Codable, CaseIterable {
/// The user has not bee
... (truncated -- full source via MCP)