AudioPlayerAgent.OnPlayStateChanged 方法
命名空间: Microsoft.Phone.BackgroundAudio
程序集: Microsoft.Phone(在 Microsoft.Phone.dll 中)
语法
声明
Protected Overridable Sub OnPlayStateChanged ( _
player As BackgroundAudioPlayer, _
track As AudioTrack, _
playState As PlayState _
)
protected virtual void OnPlayStateChanged(
BackgroundAudioPlayer player,
AudioTrack track,
PlayState playState
)
protected:
virtual void OnPlayStateChanged(
BackgroundAudioPlayer^ player,
AudioTrack^ track,
PlayState playState
)
abstract OnPlayStateChanged :
player:BackgroundAudioPlayer *
track:AudioTrack *
playState:PlayState -> unit
override OnPlayStateChanged :
player:BackgroundAudioPlayer *
track:AudioTrack *
playState:PlayState -> unit
参数
- playState
类型:Microsoft.Phone.BackgroundAudio.PlayState
版本信息
适用于 Windows Phone 应用的 .NET
受以下版本支持:Windows Phone 8、Silverlight 8.1
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。