Overview
Device media and hardware bridges — capture, audio, printing, haptics, and clipboard — all via singleton .instance APIs with permission and cleanup lifecycle.
- Camera — takePicture, gallery pick, live preview (requestPermission, stopPreview on unmount)
- Microphone — getUserMedia capture (start/stop pairs; stop on unmount)
- Printer — printHTML(html) for web print dialogs
- Vibration & haptics — vibrate(options), cancel()
- Clipboard — readText, writeText, requestPermission