Beispiel #1
0
 private async ValueTask OnMuteCallback()
 {
     Muted = true;
     OnMute?.Invoke(this, EventArgs.Empty);
 }
Beispiel #2
0
 public static void TriggerMute(IModeratorEventArgs mArgs) => OnMute?.Invoke(mArgs);
Beispiel #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));
 }
Beispiel #4
0
 private void MuteEvent(bool value)
 {
     OnMute?.Invoke(value);
 }
 public static void OnMute_Event(object sender, TwilioEventArgs args)
 {
     OnMute?.Invoke(sender, args);
 }