Język

MediaPlayer.SubtitleDataEventArgs Class

Definition

Carries encoded subtitle data reported by a media player.

public class MediaPlayer.SubtitleDataEventArgs : EventArgs
type MediaPlayer.SubtitleDataEventArgs = class
    inherit EventArgs
Inheritance
MediaPlayer.SubtitleDataEventArgs

Remarks

The payload is a SubtitleData object with track and timing information, not a decoded display string.

Constructors

Name Description
MediaPlayer.SubtitleDataEventArgs(MediaPlayer, SubtitleData)

Stores the details of a media-player subtitle-data notification.

Properties

Name Description
Data

Gets the encoded subtitle sample carried by the notification.

Mp

Gets the media player associated with the subtitle sample.

Applies to