Skip to content

Commit

Permalink
add bp and unreal
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-chen committed Dec 10, 2024
1 parent 700a0fa commit 184760c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec" />
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDeviceMute(bool *mute) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager")
int GetRecordingDeviceMute(bool&amp; mute);</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract getRecordingDeviceMute(): boolean;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract bool GetRecordingDeviceMute();</codeblock>
<codeblock props="rn" outputclass="language-typescript">abstract getRecordingDeviceMute(): boolean;</codeblock>
Expand Down Expand Up @@ -46,4 +48,4 @@
<li><codeph><ph keyref="false" /></codeph>: 采集设备为非静音状态。</li>
</ul> </section>
</refbody>
</reference>
</reference>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec" />
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRecordingDeviceMute(bool mute) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager")
int SetRecordingDeviceMute(bool mute);</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract setRecordingDeviceMute(mute: boolean): number;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract int SetRecordingDeviceMute(bool mute);</codeblock>
<codeblock props="rn" outputclass="language-typescript">abstract setRecordingDeviceMute(mute: boolean): number;</codeblock>
Expand Down Expand Up @@ -45,4 +47,4 @@
<li>&lt; 0: 方法调用失败。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></li>
</ul> </section>
</refbody>
</reference>
</reference>
12 changes: 4 additions & 8 deletions dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3616,21 +3616,17 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="setRecordingDeviceMute">
<keydef keys="setRecordingDeviceMute" href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita">
<topicmeta>
<keywords>
<keyword> <draft-comment>href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita"</draft-comment>
setRecordingDeviceMute
</keyword>
<keyword>SetRecordingDeviceMute</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="getRecordingDeviceMute">
<keydef keys="getRecordingDeviceMute" href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita">
<topicmeta>
<keywords>
<keyword> <draft-comment>href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita"</draft-comment>
getRecordingDeviceMute
</keyword>
<keyword>GetRecordingDeviceMute</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
12 changes: 4 additions & 8 deletions dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3567,21 +3567,17 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="setRecordingDeviceMute">
<keydef keys="setRecordingDeviceMute" href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita">
<topicmeta>
<keywords>
<keyword> <draft-comment>href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita"</draft-comment>
setRecordingDeviceMute
</keyword>
<keyword>setRecordingDeviceMute</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="getRecordingDeviceMute">
<keydef keys="getRecordingDeviceMute" href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita">
<topicmeta>
<keywords>
<keyword> <draft-comment>href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita"</draft-comment>
getRecordingDeviceMute
</keyword>
<keyword>getRecordingDeviceMute</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down

0 comments on commit 184760c

Please sign in to comment.