36 int capture(String url = (
const char*) 0);
Definition: VirtualShield.h:50
VirtualShield & shield
Definition: Sensor.h:55
int capture(String url=(const char *) 0)
Captures a picture and optionally saves/sends it to the specified URL.
Definition: Camera.cpp:60
Camera(const VirtualShield &shield)
Initializes a new instance of the Camera class.
Definition: Camera.cpp:41
Definition: ShieldEvent.h:35
int enablePreview(bool enable)
Enables the camera preview.
Definition: Camera.cpp:49
void onJsonReceived(JsonObject &root, ShieldEvent *shieldEvent) override
Event called when a valid json message was received. Consumes the proper values for this sensor...
Definition: Camera.cpp:72