XUserDeviceAssociationChange
Specifies the old and new device associations when a device association changes.Syntax
Members
deviceIdType: APP_LOCAL_DEVICE_ID The ID of the device whose user association changes. oldUser
Type: XUserLocalId The old user ID associated with the device. newUser
Type: XUserLocalId The new user ID associated with the device.
Remarks
All arguments to XUserDeviceAssociationChange can be “null”:- If deviceId is equal to XUserNullDeviceId, the user change applies to all devices, where all devices have associations with a signed-in user.
- If oldUser is equal to XUserNullUserLocalId, the device-user association is new.
- If newUser is equal to XUserNullUserLocalId, the existing device-user associaton is lost.
newUser can only reference users that were already added to the title via a call to XUserAddAsync. If the system picker was used to pair an input device to a user that the title doesn’t know about, newUser will be equal to XUserNullUserLocalId. See Users and input devices for more information.
