The latest version of the camera plugin (0.6.0) has some errors in its code comments/documentation. The takePicture() function states that it takes a path parameter, which is no longer the case (it did before v0.6.0 though).
I haven't checked the rest, just something I noticed when digging into this function ;)