nabto_device_listener_connection_event()

DESCRIPTION

Start listening for next connection event.

DECLARATION

NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
nabto_device_listener_connection_event(NabtoDeviceListener* listener,
                                       NabtoDeviceFuture* future,
                                       NabtoDeviceConnectionRef* ref,
                                       NabtoDeviceConnectionEvent* event)

PARAMETERS

listener:
[in] Listener to get connection events from
future:
[in] Future which resolves when event is ready or on errors.
ref:
[out] Where to put the connection reference when the future resolves.
event:
[out] Where to put the connection event when the future resolves.

RETURN VALUES

None.

EXAMPLES

None.