registerSub

Removes a subscription's notifications listener.

Signature

Copied to clipboard!
void unregisterSub(const std::string&);

Arguments

Argument Type Description
room_id
const std::string&
Subscription unique identifier

listener

A c++11 lambda which takes a const std::string argument. EventListener is defined as const std::function<void(const std::string)>.