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


LockScreenInfo.LockScreenImageChanged Событие

Определение

Указывает, что изображение экрана блокировки изменилось.

// Register
event_token LockScreenImageChanged(TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
LockScreenInfo::LockScreenImageChanged_revoker LockScreenImageChanged(auto_revoke_t, TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;
public event TypedEventHandler<LockScreenInfo,object> LockScreenImageChanged;
function onLockScreenImageChanged(eventArgs) { /* Your code */ }
lockScreenInfo.addEventListener("lockscreenimagechanged", onLockScreenImageChanged);
lockScreenInfo.removeEventListener("lockscreenimagechanged", onLockScreenImageChanged);
- or -
lockScreenInfo.onlockscreenimagechanged = onLockScreenImageChanged;
Public Custom Event LockScreenImageChanged As TypedEventHandler(Of LockScreenInfo, Object) 

Тип события

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