Contains timer native API. 
- Namespace
 - xtd::forms::native 
 
- Library
 - xtd.forms.native
 
- Warning
 - Internal use only 
 
 
◆ create()
  
  
      
        
          | static intptr xtd::forms::native::timer::create  | 
          ( | 
          int32  | 
          interval,  | 
         
        
           | 
           | 
          const delegate< void(const event_args &)> &  | 
          tick  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Create and start timer. 
- Parameters
 - 
  
    | interval | An int32 specifying the number of milliseconds before the tick event is raised relative to the last occurrence of the tick event. The value cannot be less than one.  | 
    | tick | The delegate called at each elapsed interval until the destroy call.  | 
  
   
- Returns
 - New created timer handle. 
 
- Warning
 - Internal use only 
 
 
 
◆ destroy()
  
  
      
        
          | static void xtd::forms::native::timer::destroy  | 
          ( | 
          intptr  | 
          timer | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Stop and destroy timer. 
- Parameters
 - 
  
  
 
- Warning
 - Internal use only 
 
 
 
The documentation for this class was generated from the following file:
- xtd.forms.native/include/xtd/forms/native/timer.hpp