From 43b3dcb04d007af1816fe507e77258df4e9e86ed Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 11 Jan 2023 15:01:05 +0800 Subject: [PATCH] (native) setAudioSessionOperationRestriction --- ...api_irtcengine_setaudiosessionoperationrestriction.dita | 4 ++-- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 1 + dita/RTC-NG/RTC_NG_API_iOS.ditamap | 1 + dita/RTC-NG/RTC_NG_API_macOS.ditamap | 1 + dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 7 +++++++ dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 7 +++++++ dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 7 +++++++ 7 files changed, 26 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita index 07decef4623..6ee68258e3c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -14,7 +14,7 @@

- + - (void)setAudioSessionOperationRestriction:(AgoraAudioSessionOperationRestriction)restriction NS_SWIFT_NAME(setAudioSessionOperationRestriction(_:)); virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0; abstract setAudioSessionOperationRestriction(restriction: AudioSessionOperationRestriction): number; public abstract int SetAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction); @@ -41,7 +41,7 @@ SDK 对 Audio Session 的操作权限,详见 。该参数为 Bit Mask,每个 Bit 对应一个权限。

-
+
返回值
  • 0: 方法调用成功
  • diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index 1f6f848119d..a1211d868a9 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -190,6 +190,7 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 242cf0efa7b..95119d4707e 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -195,6 +195,7 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index 7622dfe1845..bd8b2535898 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -186,6 +186,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index c76a4be6713..0f0a335dfed 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -899,6 +899,13 @@ + + + + setAudioSessionOperationRestriction + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 877832a043b..58b2d468759 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -794,6 +794,13 @@ + + + + setAudioSessionOperationRestriction + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 225782b0c14..773d34e7fef 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -752,6 +752,13 @@ + + + + setAudioSessionOperationRestriction + + +