Class WatchdogTimer
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
A class to send request about watchdog timer.
public static class WatchdogTimer
- Inheritance
-
objectWatchdogTimer
Remarks
This class provides functionality for managing watchdog timer of caller. An application can toggle watchdog timer of itself.
Methods
View SourceDisable()
Sends a disable request to deactivate the watchdog timer.
Declaration
public static void Disable()
Remarks
After this function is called, the system doesn't detect a timeout error. If the running application has to process a lot of operations, the application should disable or reset the watchdog timer. Trying to disable watchdog timer already disabled will generate error.
Enable()
Sends an enable request to activate the watchdog timer.
Declaration
public static void Enable()
Remarks
After this function is called, the system detects a timeout error. If, due to a program error as ANR (Application Not Responding), the system fails to reset the watchdog, the timer will elapse and generate a signal to terminate the running application.
Kick()
Sends a kick request to the watchdog timer.
Declaration
public static void Kick()
Remarks
This class provides functionality for managing watchdog timer of caller. An application can toggle watchdog timer of itself.