Skip to content

Commit

Permalink
Merge pull request #3739 from AgoraIO/4.4.0-electronplusrn
Browse files Browse the repository at this point in the history
4.4.0 electronplusrn
  • Loading branch information
Cilla-luodan authored Aug 15, 2024
2 parents 5c03586 + cb56800 commit 105c1b2
Show file tree
Hide file tree
Showing 13 changed files with 1,009 additions and 371 deletions.
5 changes: 3 additions & 2 deletions dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
<p>初始化本地用户视图后,你可以调用该方法更新本地用户视图的渲染和镜像模式。该方法只影响本地用户看到的视频画面,不影响本地视频的发布。</p>
</section>
<section id="timing" deliveryTarget="details">
<title><ph props="native unreal bp electron rn flutter">调用时机</ph></title>
<ul props="native unreal bp electron rn flutter"><li>请在调用 <xref keyref="setupLocalVideo" /> 方法初始化本地视图后,调用该方法。</li>
<title>调用时机</title>
<ul>
<li props="native unreal bp electron unity flutter">请在调用 <xref keyref="setupLocalVideo" /> 方法初始化本地视图后,调用该方法。</li>
<li>你可以在通话中多次调用该方法,多次更新本地用户视图的显示模式。</li></ul>
</section>
<section id="restriction" deliveryTarget="details">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@
(void)message;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionError, FString, provider, FString, extension, int, error, FString, message);</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionError?(
provider: string,
extension: string,
<codeblock props="electron" outputclass="language-typescript">onExtensionErrorWithContext?(
context: ExtensionContext,
error: number,
message: string
): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionErrorWithContext(ExtensionContext context, int error, string message){}</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionError?(
provider: string,
extension: string,
<codeblock props="rn" outputclass="language-typescript">onExtensionErrorWithContext?(
context: ExtensionContext,
error: number,
message: string
): void;</codeblock>
Expand All @@ -48,18 +46,10 @@
<title>参数</title>
<parml>
<plentry id="context">
<pt props="cpp apple">context</pt>
<pt props="cpp apple framework">context</pt>
<pt props="android">extContext</pt>
<pd>插件上下文信息,详见 <xref keyref="ExtensionContext"/>。</pd>
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry props="framework">
<pt>extension</pt>
<pd>插件的名称。</pd>
</plentry>
<plentry>
<pt>error</pt>
<pd>错误码。详见插件服务商提供的插件文档。</pd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@
(void)value;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionEvent, FString, provider, FString, extension, FString, key, FString, value);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionEvent?(
provider: string,
extension: string,
<codeblock props="electron" outputclass="language-typescript">onExtensionEventWithContext?(
context: ExtensionContext,
key: string,
value: string
): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){}</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionEvent?(
provider: string,
extension: string,
<codeblock props="rn" outputclass="language-typescript">onExtensionEventWithContext?(
context: ExtensionContext,
key: string,
value: string
): void;</codeblock>
Expand All @@ -51,15 +49,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry id="extension">
<pt props="unreal bp unity electron rn cs">extension</pt>
<pt props="flutter">extName</pt>
<pd>插件名称。</pd>
</plentry>
<plentry conkeyref="setExtensionProperty/key">
<pt />
<pd />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
(void)context;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStarted, FString, provider, FString, extension);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionStarted?(provider: string, extension: string): void;</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionStartedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){ }</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionStarted?(provider: string, extension: string): void;</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionStartedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context)? onExtensionStartedWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
Expand All @@ -36,15 +36,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry props="framework">
<pt props="unreal bp unity electron rn cs">extension</pt>
<pt props="flutter">extName</pt>
<pd>插件名称。</pd>
</plentry>
</parml> </section>
</refbody>
</reference>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
(void)context;
}</codeblock>
<codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStopped, FString, provider, FString, extension);</codeblock>
<codeblock props="electron" outputclass="language-typescript"> onExtensionStopped?(provider: string, extension: string): void;</codeblock>
<codeblock props="electron" outputclass="language-typescript">onExtensionStoppedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnExtensionStoppedWithContext(ExtensionContext context){ }</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onExtensionStopped?(provider: string, extension: string): void;</codeblock>
<codeblock props="rn" outputclass="language-typescript">onExtensionStoppedWithContext?(context: ExtensionContext): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(ExtensionContext context)? onExtensionStoppedWithContext;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
Expand All @@ -36,14 +36,6 @@
<pt />
<pd />
</plentry>
<plentry conkeyref="setExtensionProperty/vendor" props="framework">
<pt />
<pd />
</plentry>
<plentry conkeyref="onExtensionEventWithContext/extension" props="framework">
<pt />
<pd />
</plentry>
</parml> </section>
</refbody>
</reference>
Loading

0 comments on commit 105c1b2

Please sign in to comment.