다음을 통해 공유


UserNotificationListener.NotificationChanged 이벤트

정의

알림이 추가되거나 제거될 때 발생합니다.

// Register
event_token NotificationChanged(TypedEventHandler<UserNotificationListener, UserNotificationChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
UserNotificationListener::NotificationChanged_revoker NotificationChanged(auto_revoke_t, TypedEventHandler<UserNotificationListener, UserNotificationChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<UserNotificationListener,UserNotificationChangedEventArgs> NotificationChanged;
function onNotificationChanged(eventArgs) { /* Your code */ }
userNotificationListener.addEventListener("notificationchanged", onNotificationChanged);
userNotificationListener.removeEventListener("notificationchanged", onNotificationChanged);
- or -
userNotificationListener.onnotificationchanged = onNotificationChanged;
Public Custom Event NotificationChanged As TypedEventHandler(Of UserNotificationListener, UserNotificationChangedEventArgs) 

이벤트 유형

적용 대상