From bcaf7c6a13506974bd79a1aa853880527547c797 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 25 Sep 2023 08:55:33 +0000 Subject: [PATCH] Sync cn prototype to en prototype --- .../API/api_irtcengine_isfeatureavailableondevice.dita | 7 +++---- .../API/api_irtcengineex_enablecontentinspectex.dita | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index ca576b6caed..ae0a0f86647 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -15,10 +15,9 @@

public abstract boolean isFeatureAvailableOnDevice(int type); - (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type; - virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; - - - abstract isFeatureAvailableOnDevice(type: FeatureType): boolean; + virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; + public abstract bool IsFeatureAvailableOnDevice(FeatureType type); + abstract isFeatureAvailableOnDevice(type: FeatureType): boolean; Future<bool> isFeatureAvailableOnDevice(FeatureType type);

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 293f4d5c939..dc327aee1ea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -16,10 +16,9 @@ public abstract int enableContentInspectEx( boolean enabled, ContentInspectConfig config, RtcConnection connection); - (int)enableContentInspectEx:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableContentInspectEx(_:config:connection:)); - virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0; - - - abstract enableContentInspectEx( + virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0; + public abstract int EnableContentInspectEx(bool enabled, ContentInspectConfig config, RtcConnection connection); + abstract enableContentInspectEx( enabled: boolean, config: ContentInspectConfig, connection: RtcConnection