SetTimerInterval

Set the interval of an existing timer, in seconds

Signature

public void SetTimerInterval(string timerId, int interval)

Parameters

timerId
string required

No description provided.

interval
int required

No description provided.

Return Type

void

Example

using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define timer id you want to set the interval of
        string timerId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
        //Set the wanted interval for example 10
        int newInterval = 10;
        
        //Set the timer interval with method
        CPH.SetTimerInterval(timerId, newInterval);         
        return true;
    }
}