WebUIApplication.EnteredBackground WebUIApplication.EnteredBackground WebUIApplication.EnteredBackground WebUIApplication.EnteredBackground WebUIApplication.EnteredBackground Event

Definition

Occurs when the app has begins running in the background (no UI is shown for the app).

public : event EnteredBackgroundEventHandler EnteredBackground
// Register
event_token EnteredBackground(EnteredBackgroundEventHandler const& handler) const;

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

// Revoke with event_revoker
EnteredBackground_revoker EnteredBackground(auto_revoke_t, EnteredBackgroundEventHandler const& handler) const;
public event EnteredBackgroundEventHandler EnteredBackground
Public Event EnteredBackground As EnteredBackgroundEventHandler
function onEnteredBackground(eventArgs){/* Your code */}


webuiApplication.addEventListener("enteredbackground", onEnteredBackground);
webuiApplication.removeEventListener("enteredbackground", onEnteredBackground);