fun capture(): Unit
Platform and version requirements: JVM
Take a picture. The result will be returned to listeners added by addPictureTakenListener.