跳到主要内容

Global

Methods


getVersion () → {string}

静态方法 获取可用的SDK的版本号

Returns:

当前sdk的版本号

Type

string

Type Definitions


onAudioPlayoutPowerCallback(deviceId, power)

This callback onAudioPlayoutPowerCallback is to return the audio power of speaker play.

Parameters:

NameTypeDescription
deviceIdstring
powernumber

onLocalAudioLevelCallback(deviceId, level)

This callback onLocalAudioLevelCallback is to return the audio level of mic.

Parameters:

NameTypeDescription
deviceIdstring
levelnumber