AuthorizationAsyncCallback

Type Alias AuthorizationAsyncCallback 

Source
pub type AuthorizationAsyncCallback = *mut DynBlock<dyn Fn(i32, *mut AuthorizationRights)>;
Available on crate features Authorization and block2 only.
Expand description

Callback block passed to AuthorizationCopyRightsAsync.

Parameter err: (output) The result of the AuthorizationCopyRights call.

Parameter blockAuthorizedRights: (output) The authorizedRights from the AuthorizationCopyRights call to be deallocated by calling AuthorizationFreeItemSet() when it is no longer needed.

See also Apple’s documentation