deleteMemberMeta
deleteMemberMeta
- deleteMemberMeta(
params):Promise<void>
Deletes the specified keys from the metadata for the specified member.
Parameters
params
Object containing the parameters of the method.
memberId
ID of the member to affect. If omitted, affects the default device in the local client.
keys
The keys to remove.
Returns
Promise<void>
Example
In this example, we set metadata for a member as soon as they join the room.
After 5 seconds, we remove the metadata for that member. Once the member’s metadata is set or removed,
we log the metadata for that member with the onMemberUpdated event.
This example assumes that there is a RoomSession
already active and that members are joining the room.