tibasSpaceStateListener_Create()

Creates a space state listener.

Declaration

tibas_status tibasSpaceStateListener_Create(
    tibasListener* listener,
    tibas_onSpaceStateChange callback,
    void* closure)

Parameters

Parameter Description
listener The new listener object that is returned.
callback The name of the callback function.
closure Pointer to closure data that will be passed to the callback function when the listener is invoked.

Remarks

Use the tibasSpaceStateListener_Create() function to create a space state listener.