Udostępnij za pośrednictwem


LockScreenInfo.LockScreenImageChanged Event

Definition

Indicates the lock screen image has changed.

// 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) 

Event Type

Applies to