Skip to content

Commit

Permalink
Sync cn prototype to en prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyuagora authored May 9, 2024
1 parent 61ad945 commit 792a0d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<codeblock props="android" outputclass="language-java">public abstract int disableAudio();</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)disableAudio;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int disableAudio() = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int DisableAudio();</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract disableAudio(): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int DisableAudio();</codeblock>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<codeblock props="android" outputclass="language-java">public abstract int enableAudio();</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAudio;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableAudio() = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int EnableAudio();</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract enableAudio(): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int EnableAudio();</codeblock>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<codeblock props="android" outputclass="language-java">public abstract int enableLocalAudio(boolean enabled);</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)enableLocalAudio:(BOOL)enabled;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableLocalAudio(bool enabled) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int EnableLocalAudio(bool enabled);</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract enableLocalAudio(enabled: boolean): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int EnableLocalAudio(bool enabled);</codeblock>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<codeblock props="android" outputclass="language-java">public abstract int setAudioProfile(int profile, int scenario);</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int SetAudioProfile(EAUDIO_PROFILE_TYPE profile = EAUDIO_PROFILE_TYPE::AUDIO_PROFILE_DEFAULT, EAUDIO_SCENARIO_TYPE scenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT);</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract setAudioProfile(
profile: AudioProfileType,
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<codeblock props="android" outputclass="language-java">public abstract int setAudioScenario(int scenario);</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioScenario:(AgoraAudioScenario)scenario;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int SetAudioScenario(EAUDIO_SCENARIO_TYPE scenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT);</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract setAudioScenario(scenario: AudioScenarioType): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int SetAudioScenario(AUDIO_SCENARIO_TYPE scenario);</codeblock>
Expand Down

0 comments on commit 792a0d2

Please sign in to comment.