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