Documentation
¶
Overview ¶
Package capture defines the Capture type and its predefined values.
Camera selection hint for file inputs accepting images or video. Specifies which camera to use on mobile devices for direct media capture without file selection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // User Use front-facing camera (user-facing). Typically used for selfies, video calls, // and user-focused content capture on mobile devices. User = Capture("user") // Environment Use rear-facing camera (environment-facing). Default camera for photographing // surroundings, documents, and general content capture on mobile devices. Environment = Capture("environment") )
Variables for Capture values
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.