Skip to content

add a note for android #3935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dita/RTC-NG/API/class_videocanvas.dita
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,10 @@ class VideoCanvas {
</plentry>
<plentry props="android cpp apple framework">
<pt>backgroundColor</pt>
<pd>视频画布的背景颜色,格式为 RGBA。默认值为 0x00000000,代表完全透明的黑色。</pd>
<pd>视频画布的背景颜色,格式为 RGBA。默认值为 0x00000000,代表黑色。
<note type="attention" props="android"><ul><li>如果你使用 Kotlin 开发,设置 <codeph>0xFFFFFFFF</codeph> 如果编译报错,请使用 <codeph>(0xFFFFFFFF).toInt()</codeph> 转换,或使用 <codeph>android.graphics.Color.parseColor("#FFFFFFFF")</codeph>。</li>
<li>目前 <codeph>backgroundColor</codeph> 属性中的 RGBA 格式暂不支持设置 Alpha 通道的值。</li></ul></note>
</pd>
</plentry>
<plentry props="android cpp apple unreal bp unity electron flutter cs">
<pt>enableAlphaMask</pt>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@
<topicmeta>
<keywords>
<keyword>onPositionChanged</keyword>
</keywords>
</keywords>
</topicmeta>
</keydef>
</topichead>
Expand Down Expand Up @@ -6367,7 +6367,7 @@
<keydef keys="RtePlayerInfo" href="../API/class_rteplayerinfo.dita" props="cn">
<topicmeta>
<keywords>
<keyword>RtePlayerInfo</keyword>
<keyword>PlayerInfo</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
Loading