MemoryManager.AppMemoryUsageDecreased MemoryManager.AppMemoryUsageDecreased MemoryManager.AppMemoryUsageDecreased MemoryManager.AppMemoryUsageDecreased MemoryManager.AppMemoryUsageDecreased Event

Definition

Raised when the app's memory consumption has decreased to a lower value in the AppMemoryUsageLevel enumeration.

public : event EventHandler<Platform::Object> AppMemoryUsageDecreased
// Register
event_token AppMemoryUsageDecreased(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void AppMemoryUsageDecreased(event_token const& cookie) const;

// Revoke with event_revoker
AppMemoryUsageDecreased_revoker AppMemoryUsageDecreased(auto_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> AppMemoryUsageDecreased
Public Event AppMemoryUsageDecreased As EventHandler (Of object)
function onAppMemoryUsageDecreased(eventArgs){/* Your code */}


memoryManager.addEventListener("appmemoryusagedecreased", onAppMemoryUsageDecreased);
memoryManager.removeEventListener("appmemoryusagedecreased", onAppMemoryUsageDecreased);