1 Star 0 Fork 4.9K

taoguan / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
OHOS-SysInfo-OnFPSChangedListener.md 5.86 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

OHOS::SysInfo::OnFPSChangedListener

Overview

Related Modules:

Graphic

Description:

Called when the FPS changes.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

OnFPSChangedListener ()

 

A constructor used to create an OnFPSChangedListener instance with the default sampling type FPS_CT_FIXED_TIME.

~OnFPSChangedListener ()

virtual 

A destructor used to delete the OnFPSChangedListener instance.

OnFPSChanged (float newFPS)=0

virtual void 

Called when the FPS data changes.

GetFPSCalculateType () const

FPSCalculateType 

Obtains the FPS sampling type.

SetFPSCalculateType (FPSCalculateType type)

void 

Sets the FPS sampling type.

operator new (size_t size)

void * 

Overrides the new function.

operator delete (void *p)

void 

Overrides the delete function.

1
https://gitee.com/taoguan/docs.git
git@gitee.com:taoguan/docs.git
taoguan
docs
docs
master

搜索帮助