Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlaybackSessionBufferingStartedEventArgs Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Requirements Description
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

Name Description
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


Feedback

Was this page helpful?