Пример #1
0
 public async Task ConnectAsync(HubPort source, HubPort sink)
 {
     await client.InvokeAsync(this, "connect", new { source, sink });
 }
Пример #2
0
 public async Task DisconnectAsync(MediaType media, HubPort source, HubPort sink)
 {
     await client.InvokeAsync(this, "disconnect", new { media, source, sink });
 }
Пример #3
0
 public async Task SetMasterAsync(HubPort source, int zOrder)
 {
     await client.InvokeAsync(this, "setMaster", new { source, zOrder });
 }
Пример #4
0
 public async Task SetPortPropertiesAsync(float relativeX, float relativeY, int zOrder, float relativeWidth, float relativeHeight, HubPort port)
 {
     await client.InvokeAsync(this, "setPortProperties", new { relativeX, relativeY, zOrder, relativeWidth, relativeHeight, port });
 }
Пример #5
0
 public async Task SetSourceAsync(HubPort source)
 {
     await client.InvokeAsync(this, "setSource", new { source });
 }