-
Notifications
You must be signed in to change notification settings - Fork 6
feat: list room members #18
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
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/main/java/com/netease/nim/server/sdk/rtc/room/request/RtcListRoomMembersRequestV2.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| package com.netease.nim.server.sdk.rtc.room.request; | ||
| /** | ||
| * Created by DevDengChao on 2025/11/07 | ||
| * | ||
| * See https://doc.yunxin.163.com/nertc/server-apis/jUzODcwODE?platform=server | ||
| */ | ||
| public class RtcListRoomMembersRequestV2 { | ||
| private Long cid; | ||
| private Number uid; | ||
| private Number userRole; | ||
|
|
||
| public Long getCid() { | ||
| return cid; | ||
| } | ||
|
|
||
| public void setCid(Long cid) { | ||
| this.cid = cid; | ||
| } | ||
|
|
||
| public Number getUid() { | ||
| return uid; | ||
| } | ||
|
|
||
| public void setUid(Number uid) { | ||
| this.uid = uid; | ||
| } | ||
|
|
||
| public Number getUserRole() { | ||
| return userRole; | ||
| } | ||
|
|
||
| public void setUserRole(Number userRole) { | ||
| this.userRole = userRole; | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
src/main/java/com/netease/nim/server/sdk/rtc/room/request/RtcListRoomMembersRequestV3.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| package com.netease.nim.server.sdk.rtc.room.request; | ||
| /** | ||
| * Created by DevDengChao on 2025/11/07 | ||
| * | ||
| * See https://doc.yunxin.163.com/nertc/server-apis/jUzODcwODE?platform=server | ||
| */ | ||
| public class RtcListRoomMembersRequestV3 { | ||
| private String cname; | ||
| private Number uid; | ||
| private Number userRole; | ||
|
|
||
| public String getCname() { | ||
| return cname; | ||
| } | ||
|
|
||
| public void setCname(String cname) { | ||
| this.cname = cname; | ||
| } | ||
|
|
||
| public Number getUid() { | ||
| return uid; | ||
| } | ||
|
|
||
| public void setUid(Number uid) { | ||
| this.uid = uid; | ||
| } | ||
|
|
||
| public Number getUserRole() { | ||
| return userRole; | ||
| } | ||
|
|
||
| public void setUserRole(Number userRole) { | ||
| this.userRole = userRole; | ||
| } | ||
| } |
42 changes: 42 additions & 0 deletions
42
src/main/java/com/netease/nim/server/sdk/rtc/room/response/RtcListRoomMembersResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package com.netease.nim.server.sdk.rtc.room.response; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public class RtcListRoomMembersResponse { | ||
| private String cname; | ||
| private Long cid; | ||
| private Integer total; | ||
| private List<RtcRoomMember> members; | ||
|
|
||
| public String getCname() { | ||
| return cname; | ||
| } | ||
|
|
||
| public void setCname(String cname) { | ||
| this.cname = cname; | ||
| } | ||
|
|
||
| public Long getCid() { | ||
| return cid; | ||
| } | ||
|
|
||
| public void setCid(Long cid) { | ||
| this.cid = cid; | ||
| } | ||
|
|
||
| public Integer getTotal() { | ||
| return total; | ||
| } | ||
|
|
||
| public void setTotal(Integer total) { | ||
| this.total = total; | ||
| } | ||
|
|
||
| public List<RtcRoomMember> getMembers() { | ||
| return members; | ||
| } | ||
|
|
||
| public void setMembers(List<RtcRoomMember> members) { | ||
| this.members = members; | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
src/main/java/com/netease/nim/server/sdk/rtc/room/response/RtcRoomMember.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| package com.netease.nim.server.sdk.rtc.room.response; | ||
|
|
||
| /** | ||
| * | ||
| * See https://doc.yunxin.163.com/interactive-streaming/outdated_articles/zY5OTk5NTM?platform=client | ||
| */ | ||
| public class RtcRoomMember { | ||
| private Long uid; | ||
| private Long starttime; | ||
| private Integer userRole; | ||
|
|
||
| public Long getUid() { | ||
| return uid; | ||
| } | ||
|
|
||
| public void setUid(Long uid) { | ||
| this.uid = uid; | ||
| } | ||
|
|
||
| public Long getStarttime() { | ||
| return starttime; | ||
| } | ||
|
|
||
| public void setStarttime(Long starttime) { | ||
| this.starttime = starttime; | ||
| } | ||
|
|
||
| public Integer getUserRole() { | ||
| return userRole; | ||
| } | ||
|
|
||
| public void setUserRole(Integer userRole) { | ||
| this.userRole = userRole; | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.