示例#1
0
 private async ValueTask OnMuteCallback()
 {
     Muted = true;
     OnMute?.Invoke(this, EventArgs.Empty);
 }
示例#2
0
 public static void TriggerMute(IModeratorEventArgs mArgs) => OnMute?.Invoke(mArgs);
示例#3
0
 private MediaStreamTrack(IJSRuntime jsRuntime, JsObjectRef jsObjectRef) : base(jsRuntime, jsObjectRef)
 {
     AddNativeEventListener("ended", (s, e) => OnEnded?.Invoke(s, e));
     AddNativeEventListener("mute", (s, e) => OnMute?.Invoke(s, e));
     AddNativeEventListener("unmute", (s, e) => OnUnmute?.Invoke(s, e));
 }
示例#4
0
 private void MuteEvent(bool value)
 {
     OnMute?.Invoke(value);
 }
 public static void OnMute_Event(object sender, TwilioEventArgs args)
 {
     OnMute?.Invoke(sender, args);
 }