Channel
Overview
Livecast
const remonCast = new Remon()
const casts = await remonCast.fetchCasts() // Return PromiseremonCast = RemonCast.builder()
.context(ListActivity.this)
.build();
remonCast.onFetch( List<Room> casts -> {
for (Room cast : casts) {
myChannelId = cast.getId;
}
});
remonCast.fetchCasts();remonCast = RemonCast.builder()
.context(ListActivity.this)
.build()
remonCast.onFetch { casts:List<Room> ->
for ( Room cast in casts) {
myChannelId = cast.getId;
}
}
remonCast.fetchCasts()Communication
const remonCall = new Remon()
const calls = await remonCall
.fetchCasts() // Return Promise
.filter(item => item.status === "WAIT")remonCall = RemonCall.builder()
.build();
remonCall.onFetch( List<Room> calls -> {
for ( Room call : calls) {
if (call.getStatus.equals("WAIT")) { // Only WAIT channels
myChannelId = call.getId;
}
}
});
remonCall.fetchCalls();remonCall = RemonCall.builder()
.build();
remonCall.onFetch { calls:List<Room> ->
for (Room call in calls) {
if (call.status == "WAIT" ) { // Only WAIT channels
myChannelId = call.getId
}
}
}
remonCall.fetchCalls()Last updated