组合功能

组合功能是其他功能进行任意组合的功能,能够实现很多效果,其基本代码格式如下:

group:[[string_array]]

其中[string_array]表示一个字符串数组,其中的每一个字符串格式如下:

"[time_before]|[function_body]|[time_after]"

其中[time_before]表示执行前等待的时长,以ms记,[time_after]表示执行后等待的时长,以ms记

[function_body]则表示功能代码,格式参考其他功能代码

示例如下:

group:["0|notification:com.netease.cloudmusic:@id/playNotificationStar|50","0|internal:vibrate([0,200])|0"]

该示例功能为网易云音乐喜爱后等待50ms,震动200ms

Last updated