Update capture return type documentation

Describing the return type of capture as a base64 encoded dataUri is more informative to those not used to working with base64 strings.
This commit is contained in:
miketeix
2020-03-31 17:53:17 -04:00
committed by GitHub
parent 4e3df8ff33
commit 8d53c279fb

View File

@@ -95,7 +95,7 @@ npm run dev
| name | param | notes |
| ------------ | -------- | ----------------------------------------------------------------------------------------------------- |
| capture | void | Capture the current image through the webcam as base64 encoded string |
| capture | void | Capture the current image through the webcam as a base64 encoded dataUri |
| changeCamera | deviceId | change the currently selected camera. Must pass in the device ID |
| start | void | Programmatically Start the camera after stopping it (relies on deviceId prop passed to the component) |
| stop | void | Programmatically stop the camera |