ndk::ScopedAIBinder_Weak

#include <binder_auto_utils.h>

Convenience wrapper.

Summary

See AIBinder_Weak.

Inheritance

Inherits from: ndk::impl::ScopedAResource< AIBinder_Weak *, void, AIBinder_Weak_delete, nullptr >

Constructors and Destructors

ScopedAIBinder_Weak(AIBinder_Weak *a)
Takes ownership of a.
ScopedAIBinder_Weak(ScopedAIBinder_Weak &&)
~ScopedAIBinder_Weak()

Public functions

promote()
See AIBinder_Weak_promote.

Public functions

ScopedAIBinder_Weak

 ScopedAIBinder_Weak(
  AIBinder_Weak *a
)

Takes ownership of a.

ScopedAIBinder_Weak

 ScopedAIBinder_Weak(
  ScopedAIBinder_Weak &&
)=default

promote

SpAIBinder promote()

See AIBinder_Weak_promote.

~ScopedAIBinder_Weak

 ~ScopedAIBinder_Weak()