TsgcWSPClient_E2EEEvents › OnE2EEGroupLeave

OnE2EEGroupLeave Event

Fired when the local user leaves a group.

Syntax

property OnE2EEGroupLeave: TsgcWSE2EEOnGroupLeave;
// TsgcWSE2EEOnGroupLeave = procedure(Sender: TObject; const aGroup: string) of object

Default Value

Remarks

Fired on the local side after a successful LeaveGroup. Once this event fires, the client no longer receives group messages for aGroup and subsequent SendGroupMessage calls for this group will fail.

Example

procedure TForm1.oE2EEE2EEGroupLeave(Sender: TObject; const aGroup: string);
begin
  Log('left group ' + aGroup);
end;

Back to Events