ndk::ScopedAParcel

#include <binder_auto_utils.h>

Convenience wrapper.

Summary

See AParcel.

Inheritance

Inherits from: ndk::impl::ScopedAResource< AParcel *, void, AParcel_delete, nullptr >

Constructors and Destructors

ScopedAParcel(AParcel *a)
Takes ownership of a.
ScopedAParcel(ScopedAParcel &&)
~ScopedAParcel()

Public functions

ScopedAParcel

 ScopedAParcel(
  AParcel *a
)

Takes ownership of a.

ScopedAParcel

 ScopedAParcel(
  ScopedAParcel &&
)=default

~ScopedAParcel

 ~ScopedAParcel()