IGameController.UserChanged IGameController.UserChanged IGameController.UserChanged IGameController.UserChanged IGameController.UserChanged Event

Definition

Signals when the user associated with the controller has changed.

public : event TypedEventHandler<IGameController, UserChangedEventArgs> UserChanged
// Register
event_token UserChanged(TypedEventHandler<IGameController, UserChangedEventArgs> const& handler) const;

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

// Revoke with event_revoker
UserChanged_revoker UserChanged(auto_revoke_t, TypedEventHandler<IGameController, UserChangedEventArgs> const& handler) const;
public event TypedEventHandler<IGameController, UserChangedEventArgs> UserChanged
Public Event UserChanged As TypedEventHandler (Of IGameController, UserChangedEventArgs)
function onUserChanged(eventArgs){/* Your code */}


iGameController.addEventListener("userchanged", onUserChanged);
iGameController.removeEventListener("userchanged", onUserChanged);

See also

  • T:Windows.System.UserChangedEventArgs