harmony 鸿蒙HiCollie_SetTimerParam

  • 2025-06-12
  • 浏览 (6)

HiCollie_SetTimerParam

Overview

Defines the input parameters of the OH_HiCollie_SetTimer function.

Since: 18

Related module: HiCollie

Header file: hicollie.h

Summary

Member Variables

Name Description
const char * name Timer task name.
unsigned int timeout Task timeout threshold, in seconds.
OH_HiCollie_Callback func Callback executed when a timeout occurs.
void * arg Parameters of the callback.
HiCollie_Flag flag Execution to be performed when a timeout occurs. For details, see HiCollie_Flag.

Member Variable Description

arg

void* HiCollie_SetTimerParam::arg

Description Parameters of the callback.

flag

HiCollie_Flag HiCollie_SetTimerParam::flag

Description Execution to be performed when a timeout occurs. For details, see HiCollie_Flag.

func

OH_HiCollie_Callback HiCollie_SetTimerParam::func

Description Callback executed when a timeout occurs.

name

const char* HiCollie_SetTimerParam::name

Description Timer task name.

timeout

unsigned int HiCollie_SetTimerParam::timeout

Description Task timeout threshold, in seconds.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Performance Analysis Kit

harmony 鸿蒙Performance Analysis Kit

harmony 鸿蒙HiAppEvent

harmony 鸿蒙HiAppEvent_AppEventGroup

harmony 鸿蒙HiAppEvent_AppEventInfo

harmony 鸿蒙HiCollie

harmony 鸿蒙HiCollie_DetectionParam

harmony 鸿蒙HiDebug

harmony 鸿蒙HiDebug_MemoryLimit

harmony 鸿蒙HiDebug_NativeMemInfo

0  赞