Interface IMediaReceivers
- Namespace
 - DotNetBrowser.Cast
 
- Assembly
 - DotNetBrowser.dll
 
The service that allows observing media IMediaReceiver receivers in the environment.
public interface IMediaReceivers
  Properties
- AllAvailable
 Gets the list of connected (not Unavailable unavailable) media receivers.
The initial list of media receivers can be empty or not full. This is because receivers are MediaReceiverDiscoveredEventArgs discovered asynchronously in Chromium.
Methods
- Refresh()
 Asynchronously updates the list of available media receivers.
This method forces Chromium to discover media receivers available in the local network. Use it before calling the RetrieveAsync(Predicate<IMediaReceiver>, TimeSpan) method to shorten the time to discover new receivers.
- RetrieveAsync(Predicate<IMediaReceiver>)
 Waiting till the first receiver matching the
predicateis discovered.
- RetrieveAsync(Predicate<IMediaReceiver>, TimeSpan)
 Waiting till the first receiver matching the
predicateis discovered.
Events
- Discovered
 Occurs when a new media IMediaReceiver receiver has been discovered in the environment.