MediaPlaybackSession.PlaybackState 属性

定义

获取一个值,该值指示 MediaPlaybackSession 的当前播放状态,例如缓冲或播放。

public:
 property MediaPlaybackState PlaybackState { MediaPlaybackState get(); };
MediaPlaybackState PlaybackState();
public MediaPlaybackState PlaybackState { get; }
var mediaPlaybackState = mediaPlaybackSession.playbackState;
Public ReadOnly Property PlaybackState As MediaPlaybackState

属性值

MediaPlaybackSession 的当前播放状态

适用于