DeviceListener


Description:

[ CCode ( has_construct_function = false ) ]
public DeviceListener (owned DeviceListenerCB callback)

Creates a new DeviceListener with a specified callback function.

Parameters:

callback

an DeviceListenerCB callback function, or NULL.

callback_destroyed

A DestroyNotify called when the listener is freed and data associated with the callback should be freed. It can be NULL.

user_data

a pointer to data which will be passed to the callback when invoked.

Returns:

a pointer to a newly-created DeviceListener.




2022 vala-language.org