callback function is also compatible **without** using flash, so the API docs could altered to always use a callback.