ndk::ScopedAIBinder_DeathRecipient

#include <binder_auto_utils.h>

Convenience wrapper.

Summary

See AIBinder_DeathRecipient.

Inheritance

Inherits from: ndk::impl::ScopedAResource< AIBinder_DeathRecipient *, void, AIBinder_DeathRecipient_delete, nullptr >

Constructors and Destructors

ScopedAIBinder_DeathRecipient(AIBinder_DeathRecipient *a)
Takes ownership of a.
ScopedAIBinder_DeathRecipient(ScopedAIBinder_DeathRecipient &&)
~ScopedAIBinder_DeathRecipient()

Public functions

ScopedAIBinder_DeathRecipient

 ScopedAIBinder_DeathRecipient(
  AIBinder_DeathRecipient *a
)

Takes ownership of a.

ScopedAIBinder_DeathRecipient

 ScopedAIBinder_DeathRecipient(
  ScopedAIBinder_DeathRecipient &&
)=default

~ScopedAIBinder_DeathRecipient

 ~ScopedAIBinder_DeathRecipient()