GetTimerState

Get the state of an existing timer

Signature

public bool GetTimerState(string timerId)

Parameters

timerId
string required

No description provided.

Return Type

bool

Example

using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define timer id you want to get the state of
        string timerId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
        
        //Methods return boolean indicating if timer enabled or not
        bool state = CPH.GetTimerState(timerId);         return true;
    }
}