加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:02
#
文件名称:
IPowerEventListener.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
2.77 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# IPowerEventListener
## **Overview**
**Related Modules:**
[Core](Core.md)
**Description:**
Defines the power management functions provided by the HDF for the driver.
To use the power management mechanism provided by the HDF, implement operations of **[IPowerEventListener](IPowerEventListener.md)** and invoke \{@linkHdfDeviceRegisterPowerListener\} to register the operations with the HDF.
**Since:**
1.0
## **Summary**
## Data Fields












Variable Name


Description


Resume )(struct HdfDeviceObject *deviceObject)


void(* 


Suspend )(struct HdfDeviceObject *deviceObject)


void(* 



## **Details**
## **Field Documentation**
## Resume
```
void(* IPowerEventListener::Resume) (struct [HdfDeviceObject](HdfDeviceObject.md) *deviceObject)
```
**Description:**
Wakes up the driver device. The driver developer implements the operation.
## Suspend
```
void(* IPowerEventListener::Suspend) (struct [HdfDeviceObject](HdfDeviceObject.md) *deviceObject)
```
**Description:**
Hibernates the driver device. The driver developer implements the operation.
点赞 回复
回帖
支持markdown部分语法 ?