Enables deferred binding of media content associated with a MediaSource.
Use this class for media content that you don't want to bind to a MediaSource object until a media player is about to actually play the content. A typical scenario for this is playing content that requires payment when it is accessed.
public : sealed class MediaBinder
public sealed class MediaBinder
Public NotInheritable Class MediaBinder
var mediaBinder = new mediaBinder();
Windows 10 requirements
Windows 10 (introduced v10.0.10586.0)
Windows.Foundation.UniversalApiContract (introduced v2)
|MediaBinder() MediaBinder() MediaBinder() MediaBinder() MediaBinder()||
Initializes a new instance of the MediaBinder class.
|Source Source Source Source Source|
|Token Token Token Token Token||
Gets or sets an app-specified string that is used to identify the media content that the app should bind when the Binding event is raised.
|Binding Binding Binding Binding Binding||
Occurs when a media player is ready for the media content to be bound to a MediaSource. Use the handler for this to set the media content for the source by calling SetStream, SetStreamReference, or SetUri.
Send feedback about: