Type Method

tapIsEnabled(tap:)

Returns a Boolean value indicating whether an event tap is enabled.

Declaration

class func tapIsEnabled(tap: CFMachPort) -> Bool

Parameters

myTap

The event tap to test.

Return Value

If true, the specified event tap is enabled; otherwise, false.

Discussion

For more information, see the function tapEnable(tap:enable:).