- Subscribing to a device Presence change
- Unsubscribing from a device Presence change
- Adding a device Presence change handler
- Removing a device Presence change handler
Handling a device Presence change
Code samples for subscribing to XBOX Live device Presence change events and adding or removing handlers when a user logs on or off a device.
This topic provides example code for handling a device Presence change.
This topic covers the following:
For more information, see
XblPresenceDeviceType.
Last modified on August 20, 2026
Related topics
Rich Presence example codeHow toHandling a title Presence changeXblPresenceDevicePresenceChangedHandlerXblPresenceRemoveDevicePresenceChangedHandler