MediaPlayer.SubtitleDataEventArgs 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.
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. |