userId. A registered device will be tied to the registered
userIduntil the device is either proactively unregistered, or until the session has expired. A registered device will receive all the events belonging to the tied user.
displayNamecan be provided, which will be used in standard push notifications (related to user's actions, such as when the new message is sent).
authTokencan be provided, which will be used for authentication. Should you choose to use insecure settings on your network, this parameter can be ignored. For more info on how to configure secure settings and obtain
authToken, refer to our Security page.
displayNameis set only on the first time the device is registered. Please follow your platform's necessary directions if you would like to rename this to something else.
AmityConnectionStateproperty on the