• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# HiCollie_SetTimerParam
2
3
4## Overview
5
6Defines the input parameters of the **OH_HiCollie_SetTimer** function.
7
8**Since**: 18
9
10**Related module**: [HiCollie](_hi_collie.md)
11
12**Header file**: [hicollie.h](hicollie_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| const char \* [name](#name) | Timer task name. |
22| unsigned int [timeout](#timeout) | Task timeout threshold, in seconds. |
23| [OH_HiCollie_Callback](_hi_collie.md#oh_hicollie_callback) [func](#func) | Callback executed when a timeout occurs. |
24| void \* [arg](#arg) | Parameters of the callback. |
25| [HiCollie_Flag](_hi_collie.md#hicollie_flag) [flag](#flag) | Execution to be performed when a timeout occurs. For details, see [HiCollie_Flag](_hi_collie.md#hicollie_flag). |
26
27
28## Member Variable Description
29
30
31### arg
32
33```
34void* HiCollie_SetTimerParam::arg
35```
36**Description**
37Parameters of the callback.
38
39
40### flag
41
42```
43HiCollie_Flag HiCollie_SetTimerParam::flag
44```
45**Description**
46Execution to be performed when a timeout occurs. For details, see [HiCollie_Flag](_hi_collie.md#hicollie_flag).
47
48
49### func
50
51```
52OH_HiCollie_Callback HiCollie_SetTimerParam::func
53```
54**Description**
55Callback executed when a timeout occurs.
56
57
58### name
59
60```
61const char* HiCollie_SetTimerParam::name
62```
63**Description**
64Timer task name.
65
66
67### timeout
68
69```
70unsigned int HiCollie_SetTimerParam::timeout
71```
72**Description**
73Task timeout threshold, in seconds.
74