nabto_client_listener_new()

DESCRIPTION

Create a new Listener

A Listener is an object which can listen for a type of events. The listener is initialized to the specific type of events later.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientListener* NABTO_CLIENT_API
nabto_client_listener_new(NabtoClient* context)

PARAMETERS

context:
[in] The context.

RETURNS

A new listener.