Jaa


MediaPlaybackSessionBufferingStartedEventArgs Class

Definition

Provides data for the BufferingStarted event of a MediaPlaybackSession.

public ref class MediaPlaybackSessionBufferingStartedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaPlaybackSessionBufferingStartedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaPlaybackSessionBufferingStartedEventArgs
Public NotInheritable Class MediaPlaybackSessionBufferingStartedEventArgs
Inheritance
Object Platform::Object IInspectable MediaPlaybackSessionBufferingStartedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

To maintain backwards compatibility, the BufferingStarted delegate signature receives the event args as a generic object. To get an instance of this class, use the as operator keyword (C#) or dynamic_cast (C++) to cast the args parameter to a MediaPlaybackSessionBufferingStartedEventArgs.

Properties

IsPlaybackInterruption

Gets a value indicating whether the buffering that triggered the event was expected by the system, such as when a new item begins playing or after the user seeks to a new position in the media item, or if it was an unexpected interruption, such as when buffering is caused by degradation of the network connection.

Applies to