diff --git a/en/application-dev/reference/apis/js-apis-audio.md b/en/application-dev/reference/apis/js-apis-audio.md index 4e56639a0d8d0630193430eae58a999e2c43ce92..3a449fb0426baae2532bd3ad2f748d5af49263ec 100644 --- a/en/application-dev/reference/apis/js-apis-audio.md +++ b/en/application-dev/reference/apis/js-apis-audio.md @@ -1146,6 +1146,8 @@ setAudioParameter(key: string, value: string, callback: AsyncCallback<void> Sets an audio parameter. This API uses an asynchronous callback to return the result. +This API is used to extend the audio configuration based on the hardware capability. The supported audio parameters vary according to the device and can be obtained from the device manual. The example below is for reference only. + **System capability**: SystemCapability.Multimedia.Audio.Core **Parameters** @@ -1174,6 +1176,8 @@ setAudioParameter(key: string, value: string): Promise<void> Sets an audio parameter. This API uses a promise to return the result. +This API is used to extend the audio configuration based on the hardware capability. The supported audio parameters vary according to the device and can be obtained from the device manual. The example below is for reference only. + **System capability**: SystemCapability.Multimedia.Audio.Core **Parameters** @@ -1203,6 +1207,8 @@ getAudioParameter(key: string, callback: AsyncCallback<string>): void Obtains the value of an audio parameter. This API uses an asynchronous callback to return the result. +This API is used to extend the audio configuration based on the hardware capability. The supported audio parameters vary according to the device and can be obtained from the device manual. The example below is for reference only. + **System capability**: SystemCapability.Multimedia.Audio.Core **Parameters** @@ -1230,6 +1236,8 @@ getAudioParameter(key: string): Promise<string> Obtains the value of an audio parameter. This API uses a promise to return the result. +This API is used to extend the audio configuration based on the hardware capability. The supported audio parameters vary according to the device and can be obtained from the device manual. The example below is for reference only. + **System capability**: SystemCapability.Multimedia.Audio.Core **Parameters**