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 

参数

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

AudioPlayerAgent 类

Microsoft.Phone.BackgroundAudio 命名空间