Поделиться через


MediaPlaybackCommandManager.PauseReceived Событие

Определение

Происходит, когда диспетчер команд получает команду с помощью кнопки Пауза элемента управления транспортировкой системных носителей.

// Register
event_token PauseReceived(TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs const&> const& handler) const;

// Revoke with event_token
void PauseReceived(event_token const* cookie) const;

// Revoke with event_revoker
MediaPlaybackCommandManager::PauseReceived_revoker PauseReceived(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManager,MediaPlaybackCommandManagerPauseReceivedEventArgs> PauseReceived;
function onPauseReceived(eventArgs) { /* Your code */ }
mediaPlaybackCommandManager.addEventListener("pausereceived", onPauseReceived);
mediaPlaybackCommandManager.removeEventListener("pausereceived", onPauseReceived);
- or -
mediaPlaybackCommandManager.onpausereceived = onPauseReceived;
Public Custom Event PauseReceived As TypedEventHandler(Of MediaPlaybackCommandManager, MediaPlaybackCommandManagerPauseReceivedEventArgs) 

Тип события

Применяется к