Skip to content
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

[Java API] 书写 class 中的方法函数 #2634

Open
kelzr opened this issue Nov 23, 2022 · 1 comment
Open

[Java API] 书写 class 中的方法函数 #2634

kelzr opened this issue Nov 23, 2022 · 1 comment
Labels

Comments

@kelzr
Copy link
Collaborator

kelzr commented Nov 23, 2022

根据最近的用户留言:“没有setDestChannelInfo方法” 引起的这条 issue。

代码截图:
企业微信截图_af56a268-2a08-454d-8847-cb8ea217273d
文档截图:
企业微信截图_4222c5c7-e491-4b6a-996b-1f904831286d
文档地址:https://docs.agora.io/cn/live-streaming-premium-4.x/API%20Reference/java_ng/API/rtc_api_data_type.html#class_channelmediarelayconfiguration

  • 问题总结:仅 Java,ChannelMediaRelayConfiguration 文档缺少如下方法
    • setSrcChannelInfo
    • setDestChannelInfo
    • removeDestChannelInfo
    • getSrcChannelMediaInfo
    • getDestChannelMediaInfos
  • 下一步行动:需要讨论下如何在 DITA 中书写 Class 下的方法。
@kelzr kelzr added the dita label Nov 23, 2022
@Chuchun1991
Copy link
Collaborator

Java 的非接口类中,如果既有public参数又有get方法,则get方法无需写,且从原型中删除,但其他方法仍然需要写;如果是private参数,则方法都需要写。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants