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) 

事件类型

适用于