params示例代码示例代码decibel getDecibel 获取分贝值(dB)的模块。 getDecibel获取周围环境的分贝值(dB)。 repeat: 类型:布尔 interval: 类型:数字描述:(选填)repeat为true才有效,返回的时间间隔,单位毫秒ms callback(ret)ret: 类型:JSON对象内部字段: 可用性 stop停止返回分贝值,只有设repeat为true,才有必要调这个停止。 stop() 可用性Android系统、iOS系统