pub unsafe extern "C" fn AIBinder_DeathRecipient_new(
onBinderDied: AIBinder_DeathRecipient_onBinderDied,
) -> *mut AIBinder_DeathRecipient
Expand description
Creates a new binder death recipient. This can be attached to multiple different binder objects.
Available since API level 29.
WARNING: Make sure the lifetime of this cookie is long enough. If it is dynamically allocated, it should be deleted with AIBinder_DeathRecipient_setOnUnlinked.
\param onBinderDied the callback to call when this death recipient is invoked.
\return the newly constructed object (or null if onBinderDied is null).