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