MediaPlaybackCommandManagerCommandBehavior.IsEnabledChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika status aktif dari perintah Kontrol Transportasi Media Sistem berubah.
// Register
event_token IsEnabledChanged(TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsEnabledChanged(event_token const* cookie) const;
// Revoke with event_revoker
MediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,object> IsEnabledChanged;
function onIsEnabledChanged(eventArgs) { /* Your code */ }
mediaPlaybackCommandManagerCommandBehavior.addEventListener("isenabledchanged", onIsEnabledChanged);
mediaPlaybackCommandManagerCommandBehavior.removeEventListener("isenabledchanged", onIsEnabledChanged);
- or -
mediaPlaybackCommandManagerCommandBehavior.onisenabledchanged = onIsEnabledChanged;
Public Custom Event IsEnabledChanged As TypedEventHandler(Of MediaPlaybackCommandManagerCommandBehavior, Object)
Jenis Acara
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,Object>
TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,IInspectable>