camerasnapshotdelayed-executionios-cameratemenos-quantum

Kony Camera Snapshot Delay


I am trying to set a 5 second snapshot delay on the Camera function in Kony Visualizer.

Does anyone know how to do this?


Solution

  • You can use *kony.timer.schedule* API for Camera Snapshot delay.

    Basically, you can use this API when you want to execute a function after a specified interval of time. i.e, for example, to run a specific function after a specific time and/or for every 15 seconds.

    Syntax: kony.timer.schedule(timerid,funcObj,interval,repeat)

    where

    So, You just need to call this timer function on "OnCapture" Action for Camera Widget.

    Read Kony documents for reference http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/content/kony.timer_functions.htm