Class DeviceEnumerationCompletedEventArgs
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Reports that the initial enumeration of one device list has finished, for the
DeviceEnumerator.OnDeviceEnumerationCompleted event.
public sealed class DeviceEnumerationCompletedEventArgs : EventArgsInheritance
Inherited Members
Remarks
The event fires once per Start*Monitor call, after the device list is populated and
before the call (or the task it returned) completes. An application that starts a monitor
without awaiting it can show "enumerating..." until this arrives, filling the list from
OnVideoSourceAdded / OnAudioSourceAdded / OnAudioSinkAdded meanwhile.
Threading: the synchronous overloads raise it on the calling thread; the asynchronous ones raise it from the continuation after their last await, which resumes on the caller's synchronization context - the UI thread when the call was made from one. The SDK does not marshal for subscribers.
Constructors
DeviceEnumerationCompletedEventArgs(DeviceEnumerationKind)
Initializes a new instance of VisioForge.Core.Types.X.Sources.DeviceEnumerationCompletedEventArgs.
public DeviceEnumerationCompletedEventArgs(DeviceEnumerationKind kind)Parameters
kindDeviceEnumerationKind-
The device list this notification is about.
Properties
Kind
The device list this notification is about.
public DeviceEnumerationKind Kind { get; }