This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
I am creating a recording App, I need a counter to count down as soon as the record has started.
You can use the Timer API to achieve your requirement. Set the timer for 2 minutes and after the 2 minutes the call back will execute and in the callback you can write your business logic to stop the recording.
Is there any way where we can check if timer exists(i.e scheduled) using it's timer Id and cancel the timer (if exists).
In android we don't face any issue while canceling the timer(even if it does exists or doesn't exists) but where as in iOS, we are facing issue, when we try to cancel timer which is not scheduled.
Note: scheduling timer in IF condition
or
should we handle the mentioned scenario using code logic.
We invite you to visit our Ideation portal (link below) on Base Camp and vote on a similar request or create a new Idea based on your requirements. The Ideation portal will allow you to keep track of your Ideas (feature requests), Ideas you have voted and commented on, and Ideas submitted by your organization. You will also be able to see the status of the Idea as it gains popularity and moves through the process. Ideation portal - https://basecamp.kony.com/s/ideation?page=1 If you want to read more about Ideation - https://basecamp.kony.com/s/articlelistview