diff --git a/api/@ohos.multimedia.avsession.d.ts b/api/@ohos.multimedia.avsession.d.ts index 7e95671d23a39548f79db472fb13d1793c6728fc..d306c0147daa29c76014e1ba727e1171aacd4e6b 100644 --- a/api/@ohos.multimedia.avsession.d.ts +++ b/api/@ohos.multimedia.avsession.d.ts @@ -3943,6 +3943,18 @@ declare namespace avSession { */ select(options?: AVCastPickerOptions): Promise; + /** + * Restore default communication audio output device. + * For example, the audio output device will be switched to earpiece for voice call scene and + * to speaker for video call scene on phone. + * + * @returns { Promise } void promise when executed successfully + * @syscap SystemCapability.Multimedia.AVSession.AVCast + * @atomicservice + * @since 21 + */ + restoreDefaultCommunicationDevice(): Promise; + /** * Register picker state change callback. * @param { 'pickerStateChange' } type - 'pickerStateChange'