# SysCamera **Functionality**: Captures static photos using the system camera, supports real-time preview, and returns the captured image as both a `data URL` and a `File` object. **Type**: Regular widget **Parent Widget**: `bricks.SysVideoRecorder` ## Initialization Parameters - No explicit custom initialization parameters (inherited from parent class `MediaRecorder`). - In practice, options such as `widgetid` may need to be passed when creating an instance if used by the parent class (though not directly utilized in this class). ## Main Events - **`shot`** Triggered when: The user clicks the capture button to take a photo. Callback data: ```js { url: string, // Data URL of the image, suitable for display in `` file: File // File object, usable for upload or saving } ``` --- # WidgetRecorder **Functionality**: Records media streams from a specified widget (e.g., `