• 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
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| const char \* [name](#name) | Timer task name. |
21| unsigned int [timeout](#timeout) | Task timeout threshold, in seconds. |
22| [OH_HiCollie_Callback](_hi_collie.md#oh_hicollie_callback) [func](#func) | Callback executed when a timeout occurs. |
23| void \* [arg](#arg) | Parameters of the callback. |
24| [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). |
25
26
27## Member Variable Description
28
29
30### arg
31
32```
33void* HiCollie_SetTimerParam::arg
34```
35**Description**
36Parameters of the callback.
37
38
39### flag
40
41```
42HiCollie_Flag HiCollie_SetTimerParam::flag
43```
44**Description**
45Execution to be performed when a timeout occurs. For details, see [HiCollie_Flag](_hi_collie.md#hicollie_flag).
46
47
48### func
49
50```
51OH_HiCollie_Callback HiCollie_SetTimerParam::func
52```
53**Description**
54Callback executed when a timeout occurs.
55
56
57### name
58
59```
60const char* HiCollie_SetTimerParam::name
61```
62**Description**
63Timer task name.
64
65
66### timeout
67
68```
69unsigned int HiCollie_SetTimerParam::timeout
70```
71**Description**
72Task timeout threshold, in seconds.
73