es_mute_process(_:_:)
Suppresses events from a given process.
Declaration
func es_mute_process(_ client: OpaquePointer, _ audit_token: UnsafePointer<audit_token_t>) -> es_return_tParameters
- client:
A previously-created client. If the call succeeds, this client no longer receives events from the process indicated by
audit_token. - audit_token:
The audit token that indicates the process to mute.
Return Value
A value that indicates whether the mute request succeeded or failed with an error.
Discussion
To mute a subset of events from a process, use es_mute_process_events(_:_:_:_:).