示例#1
0
 public async Task <object> OnClientStateChange(dynamic kwargs)
 {
     AppController.Instance(false).OnClientStateChange(kwargs.callback);
     return(null);
 }
示例#2
0
 public async Task <object> Mute(dynamic kwargs)
 {
     AppController.Instance().MuteAll(kwargs.state);
     return(null);
 }
示例#3
0
 public async Task <object> OnDisconnect(dynamic kwargs)
 {
     AppController.Instance(false).OnDisconnect(kwargs.callback);
     return(null);
 }
示例#4
0
 public async Task <object> Join(dynamic kwargs)
 {
     AppController.Instance().JoinMeeting(kwargs.url, kwargs.fullscreen, kwargs.display);
     return(null);
 }
示例#5
0
 public async Task <object> HangupAll(dynamic kwargs)
 {
     AppController.Instance().HangupAll();
     return(null);
 }
示例#6
0
 public async Task <object> Call(dynamic kwargs)
 {
     AppController.Instance().Call(kwargs.uri, kwargs.fullscreen, kwargs.display);
     return(null);
 }
示例#7
0
 public async Task <object> SignOut(dynamic kwargs)
 {
     AppController.Instance().SignOut();
     return(null);
 }
示例#8
0
 public async Task <object> SignIn(dynamic kwargs)
 {
     AppController.Instance(false).SignIn(kwargs.user, kwargs.password);
     return(null);
 }
示例#9
0
 public async Task <object> GetClientState(dynamic kwargs)
 {
     return(AppController.Instance(false).GetClientState());
 }
示例#10
0
 public async Task <object> GetActiveUser(dynamic kwargs)
 {
     return(AppController.Instance().GetActiveUser());
 }