共用方式為


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的目前播放狀態

適用於