Stay organized with collections
Save and categorize content based on your preferences.
ndk::ScopedAParcel
#include <binder_auto_utils.h>
Convenience wrapper.
Summary
See AParcel.
Inheritance
Inherits from:
ndk::impl::ScopedAResource< AParcel *, AParcel_delete, nullptr >Public functions
ScopedAParcel
ScopedAParcel(
AParcel *a
)
~ScopedAParcel
~ScopedAParcel()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-17 UTC."],[],[],null,["# ndk::ScopedAParcel Class Reference\n\nndk::ScopedAParcel\n==================\n\n\n`#include \u003cbinder_auto_utils.h\u003e`\n\nConvenience wrapper.\n\nSummary\n-------\n\nSee AParcel.\n\n### Inheritance\n\nInherits from: [ndk::impl::ScopedAResource\\\u003c AParcel \\*, AParcel_delete, nullptr \\\u003e](/ndk/reference/classndk/1-1impl-1-1-scoped-a-resource)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ScopedAParcel](#classndk_1_1_scoped_a_parcel_1ad9f48f7175aeadf7e16a6259a015091b)`(AParcel *a)` Takes ownership of a. ||\n| [ScopedAParcel](#classndk_1_1_scoped_a_parcel_1a883b7d46a444b8ed9c6e57a817783d37)`(`[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` &&)` ||\n| [~ScopedAParcel](#classndk_1_1_scoped_a_parcel_1ad18e851b1b23ba1f4ad44699a19408a5)`()` ||\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| [operator!=](#classndk_1_1_scoped_a_parcel_1a394fb90bcaf4a164deafcf353e619c05)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n| [operator\u003c](#classndk_1_1_scoped_a_parcel_1ad7b41ff53b7243ab0af69ab411febc11)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n| [operator\u003c=](#classndk_1_1_scoped_a_parcel_1a799bb725cf3a7a0fd080ba25aab112a7)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n| [operator=](#classndk_1_1_scoped_a_parcel_1a22fd9666c6efa6712f06eb78760a682b)`(`[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` &&)=default` | [ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` &` |\n| [operator==](#classndk_1_1_scoped_a_parcel_1a0b4d657a93b59de9ed387a24877b0e1b)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n| [operator\u003e](#classndk_1_1_scoped_a_parcel_1aa2e418518222113eb144a2672abb94c4)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n| [operator\u003e=](#classndk_1_1_scoped_a_parcel_1a437d92afdc55802a41c32e4b6c1958a6)`(const `[ScopedAParcel](/ndk/reference/classndk/1-1-scoped-a-parcel#classndk_1_1_scoped_a_parcel)` & rhs) const ` | `bool` |\n\nPublic functions\n----------------\n\n### ScopedAParcel\n\n```scdoc\n ScopedAParcel(\n AParcel *a\n)\n``` \nTakes ownership of a. \n\n### ScopedAParcel\n\n```text\n ScopedAParcel(\n ScopedAParcel &&\n)=default\n``` \n\n### operator!=\n\n```gdscript\nbool operator!=(\n const ScopedAParcel & rhs\n) const \n``` \n\n### operator\\\u003c\n\n```gdscript\nbool operator\u003c(\n const ScopedAParcel & rhs\n) const \n``` \n\n### operator\\\u003c=\n\n```gdscript\nbool operator\u003c=(\n const ScopedAParcel & rhs\n) const \n``` \n\n### operator=\n\n```text\nScopedAParcel & operator=(\n ScopedAParcel &&\n)=default\n``` \n\n### operator==\n\n```gdscript\nbool operator==(\n const ScopedAParcel & rhs\n) const \n``` \n\n### operator\\\u003e\n\n```gdscript\nbool operator\u003e(\n const ScopedAParcel & rhs\n) const \n``` \n\n### operator\\\u003e=\n\n```gdscript\nbool operator\u003e=(\n const ScopedAParcel & rhs\n) const \n``` \n\n### \\~ScopedAParcel\n\n```text\n ~ScopedAParcel()\n```"]]