ndk::ScopedAIBinder_Weak

#include <binder_auto_utils.h>

Convenience wrapper.

Summary

See AIBinder_Weak.

Inheritance

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

Constructors and Destructors

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

Public functions

operator=(ScopedAIBinder_Weak &&)=default
promote() const
See AIBinder_Weak_promote.

Public functions

ScopedAIBinder_Weak

 ScopedAIBinder_Weak(
  AIBinder_Weak *a
)

Takes ownership of a.

ScopedAIBinder_Weak

 ScopedAIBinder_Weak(
  ScopedAIBinder_Weak &&
)=default

operator=

ScopedAIBinder_Weak & operator=(
  ScopedAIBinder_Weak &&
)=default

promote

SpAIBinder promote() const 

See AIBinder_Weak_promote.

~ScopedAIBinder_Weak

 ~ScopedAIBinder_Weak()