Package-level declarations

Types

Link copied to clipboard

Entry point for the grant-desktop module — mirrors GrantContacts/GrantCalendar/ GrantMotion's initialize() pattern on iOS. Call this once, e.g. at your Compose Desktop app's main(), before any dev.brewkits.grant.GrantManager call for a desktop permission.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Microphone follows the exact same shape as camera — verified against real hardware only for camera so far (ROADMAP.md v2.6.0); this reuses the proven avStatus/avRequestBlocking path rather than a parallel implementation, so what was actually verified end-to-end (the ABI, the completion-handler bridging, the blocking/re-read pattern) is exactly what microphone runs through too — not a second, separately-risked code path.

Link copied to clipboard

Opens System Settings' Privacy & Security → Camera pane via the documented x-apple.systempreferences: URL scheme — the real, Apple-sanctioned mechanism macOS provides for this (unlike the browser target, which has no equivalent at all; see PlatformGrantDelegate.web.kt). Only grant-desktop can call this: it needs NSWorkspace (AppKit), which grant-core's jvmMain deliberately does not depend on, since that module also has to compile on any JVM, not just macOS.