Event CustomEvent
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
Occurs when somebody sends a custom event: a program that called BroadcastCustomEventAsync(object, CancellationToken) (this one included), or a script of OBS Studio.
public event EventHandler<CustomEventEventArgs>? CustomEvent
Returns
- EventHandler<CustomEventEventArgs>
- Occurs when somebody sends a custom event: a program that called (this one included), or a script of OBS Studio.
Remarks
OBS Studio sends the event to every client that is subscribed to the General events, which the model always is. The data of the event is what the sender made it.
Like Changed it is raised in the order in which the events arrived, one at a time, on NotificationContext (or a thread of the thread pool), and also while the model is being read. The same event is available as CustomEvent of Client, which the client raises from a dispatcher of its own.