ndk::ScopedAIBinder_DeathRecipient

#include <binder_auto_utils.h>

Convenience wrapper.

Summary

See AIBinder_DeathRecipient.

Inheritance

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

Constructors and Destructors

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

Public functions

operator=(ScopedAIBinder_DeathRecipient &&)=default

Public functions

ScopedAIBinder_DeathRecipient

 ScopedAIBinder_DeathRecipient(
  AIBinder_DeathRecipient *a
)

Takes ownership of a.

ScopedAIBinder_DeathRecipient

 ScopedAIBinder_DeathRecipient(
  ScopedAIBinder_DeathRecipient &&
)=default

operator=

ScopedAIBinder_DeathRecipient & operator=(
  ScopedAIBinder_DeathRecipient &&
)=default

~ScopedAIBinder_DeathRecipient

 ~ScopedAIBinder_DeathRecipient()