Instance Property

commit

Commits the transaction.

Declaration

IOReturn (*commit)(void *self, uint32_t timeoutMS, IOHIDCallbackFunction callback, void *callbackTarget, void *callbackRefcon);

Parameters

timeoutMS

UNSUPPORTED

callback

UNSUPPORTED

callbackTarget

UNSUPPORTED

callbackRefcon

UNSUPPORTED

Return Value

Returns an IOReturn code.

Discussion

Transaction element values, if set, will be sent to the device. Otherwise, the default element value will be used. If neither are set, that element will be omitted from the commit. After a transaction is committed, transaction element values will be cleared. Default values will be preserved.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software