userMetadata
Create a handle to a UserMetadata object that can be used to obtain a Subscription to user metadata events.
The function is cheap to call, and the returned object is lightweight, as it doesn't change any client or server state. It is therefore permitted to use this method whenever a representation of a user metadata is required.
The returned UserMetadata holds a reference to this PubNub instance internally.
Return
a UserMetadata instance representing the channel metadata with the given id
Parameters
id
the id of the user. See more in the documentation