setName method
- String name
Sets and updates the name of the local participant.
Note: this requires CanUpdateOwnMetadata permission encoded in the token.
@param name
Implementation
Future<void> setName(String name) {
final requestId = room.engine.signalClient.sendUpdateLocalMetadata(
lk_rtc.UpdateParticipantMetadata(
name: name,
metadata: metadata,
),
);
return _waitForRequestResponse(requestId);
}