[[["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 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eGARCreateAnchorOnRooftopFuture\u003c/code\u003e handles the asynchronous operation of creating a rooftop anchor in Google's ARCore Geospatial API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find more detailed information in the Rooftop anchors developer guide.\u003c/p\u003e\n"],["\u003cp\u003eUpon completion, it provides access to the resulting anchor (\u003ccode\u003eresultAnchor\u003c/code\u003e) and its state (\u003ccode\u003eresultRooftopAnchorState\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThese result properties should only be accessed after verifying the operation's completion using the \u003ccode\u003estate\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["# GARCreateAnchorOnRooftopFuture Class Reference\n\nGARCreateAnchorOnRooftopFuture\n==============================\n\nA handle to an async operation initiated by a call to [createAnchorWithCoordinate:altitudeAboveRooftop:eastUpSouthQAnchor:completionHandler:error: (GARSession(Geospatial))](/ar/reference/ios/category/GARSession(Geospatial)#createanchorwithcoordinate:altitudeaboverooftop:eastupsouthqanchor:completionhandler:error:).\n\nSee the [Rooftop anchors developer guide](https://developers.google.com/ar/develop/ios/geospatial/anchors#rooftop-anchors) for more information.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [`GARFuture`](/ar/reference/ios/interface/GARFuture)\n\n| ### Properties ||\n|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [resultAnchor](#resultanchor) | [GARAnchor](/ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor)` *` The result anchor of the async operation, or nil if the operation isn't completed successfully. |\n| [resultRooftopAnchorState](#resultrooftopanchorstate) | [GARRooftopAnchorState](/ar/reference/ios/group/GARRooftopAnchorState#garrooftopanchorstate) The result rooftop anchor state of the async operation, or a default value if the operation isn't complete. |\n\nProperties\n----------\n\n### resultAnchor\n\n```transact-sql\n@property(nonatomic, nullable, readonly) /ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor */ar/reference/ios/interface/GARCreateAnchorOnRooftopFuture#resultanchor;\n``` \nThe result anchor of the async operation, or nil if the operation isn't completed successfully.\n\nThis should only be used after checking that [state](/ar/reference/ios/interface/GARFuture#state) is [GARFutureStateDone](/ar/reference/ios/group/GARFutureState#garfuturestatedone). \n\n### resultRooftopAnchorState\n\n```transact-sql\n@property(nonatomic, readonly) /ar/reference/ios/group/GARRooftopAnchorState#garrooftopanchorstate /ar/reference/ios/interface/GARCreateAnchorOnRooftopFuture#resultrooftopanchorstate;\n``` \nThe result rooftop anchor state of the async operation, or a default value if the operation isn't complete.\n\nThis should only be used after checking that [state](/ar/reference/ios/interface/GARFuture#state) is [GARFutureStateDone](/ar/reference/ios/group/GARFutureState#garfuturestatedone)."]]