ABinderRpc_unregisterAccessorProvider

Function ABinderRpc_unregisterAccessorProvider 

Source
pub unsafe extern "C" fn ABinderRpc_unregisterAccessorProvider(
    provider: *mut ABinderRpc_AccessorProvider,
)
Expand description

Remove an ABinderRpc_AccessorProvider from libbinder. This will remove references from the ABinderRpc_AccessorProvider and will no longer call the ABinderRpc_AccessorProvider_getAccessorCallback.

Note: The data object that was used when adding the accessor will be deleted by the ABinderRpc_AccessorProviderUserData_deleteCallback at some point after this call. Do not use the object and do not try to delete it through any other means. Note: This will abort when used incorrectly if this provider was never registered or if it were already unregistered.

\param provider to be removed and deleted