Stay organized with collections
Save and categorize content based on your preferences.
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 >Public functions
ScopedAIBinder_Weak
ScopedAIBinder_Weak(
AIBinder_Weak *a
)
SpAIBinder promote() const
See AIBinder_Weak_promote.
~ScopedAIBinder_Weak
~ScopedAIBinder_Weak()
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::ScopedAIBinder_Weak Class Reference\n\nndk::ScopedAIBinder_Weak\n========================\n\n\n`#include \u003cbinder_auto_utils.h\u003e`\n\nConvenience wrapper.\n\nSummary\n-------\n\nSee AIBinder_Weak.\n\n### Inheritance\n\nInherits from: [ndk::impl::ScopedAResource\\\u003c AIBinder_Weak \\*, AIBinder_Weak_delete, nullptr \\\u003e](/ndk/reference/classndk/1-1impl-1-1-scoped-a-resource)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ScopedAIBinder_Weak](#classndk_1_1_scoped_a_i_binder___weak_1af23afd438053b09890d8d510975f8a64)`(AIBinder_Weak *a)` Takes ownership of a. ||\n| [ScopedAIBinder_Weak](#classndk_1_1_scoped_a_i_binder___weak_1ac5a91513cd5d914dddf93842e1c5febf)`(`[ScopedAIBinder_Weak](/ndk/reference/classndk/1-1-scoped-a-i-binder-weak#classndk_1_1_scoped_a_i_binder___weak)` &&)` ||\n| [~ScopedAIBinder_Weak](#classndk_1_1_scoped_a_i_binder___weak_1a588e074aed9fc603e3eae8d8806facfe)`()` ||\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [operator=](#classndk_1_1_scoped_a_i_binder___weak_1abc967923a8a48df2bcb9168ecd961505)`(`[ScopedAIBinder_Weak](/ndk/reference/classndk/1-1-scoped-a-i-binder-weak#classndk_1_1_scoped_a_i_binder___weak)` &&)=default` | [ScopedAIBinder_Weak](/ndk/reference/classndk/1-1-scoped-a-i-binder-weak#classndk_1_1_scoped_a_i_binder___weak)` &` |\n| [promote](#classndk_1_1_scoped_a_i_binder___weak_1ae8649a1cd5ca8f181a37d498ce98ff20)`() const ` | [SpAIBinder](/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) See AIBinder_Weak_promote. |\n\nPublic functions\n----------------\n\n### ScopedAIBinder_Weak\n\n```scdoc\n ScopedAIBinder_Weak(\n AIBinder_Weak *a\n)\n``` \nTakes ownership of a. \n\n### ScopedAIBinder_Weak\n\n```scdoc\n ScopedAIBinder_Weak(\n ScopedAIBinder_Weak &&\n)=default\n``` \n\n### operator=\n\n```scdoc\nScopedAIBinder_Weak & operator=(\n ScopedAIBinder_Weak &&\n)=default\n``` \n\n### promote\n\n```gdscript\nSpAIBinder promote() const \n``` \nSee AIBinder_Weak_promote. \n\n### \\~ScopedAIBinder_Weak\n\n```scdoc\n ~ScopedAIBinder_Weak()\n```"]]