跳到主要内容

set_duration

设置生存时长

声明

void set_duration(int duration_in_ms)

参数

参数名描述
duration_in_ms生存时长(毫秒)

返回值

使用方式

返回文档