Bagikan melalui


MediaPlaybackCommandManager.PositionReceived Kejadian

Definisi

Terjadi ketika manajer perintah menerima perintah yang mengubah posisi pemutaran saat ini dari Kontrol Transportasi Media Sistem.

// Register
event_token PositionReceived(TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MediaPlaybackCommandManager::PositionReceived_revoker PositionReceived(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManager,MediaPlaybackCommandManagerPositionReceivedEventArgs> PositionReceived;
function onPositionReceived(eventArgs) { /* Your code */ }
mediaPlaybackCommandManager.addEventListener("positionreceived", onPositionReceived);
mediaPlaybackCommandManager.removeEventListener("positionreceived", onPositionReceived);
- or -
mediaPlaybackCommandManager.onpositionreceived = onPositionReceived;
Public Custom Event PositionReceived As TypedEventHandler(Of MediaPlaybackCommandManager, MediaPlaybackCommandManagerPositionReceivedEventArgs) 

Jenis Acara

Berlaku untuk