ARSession.GetCurrentWorldMap(Action<ARWorldMap,NSError>) Method

Definition

Passes the current world map to a completion handler.

[Foundation.Export("getCurrentWorldMapWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetCurrentWorldMap (Action<ARKit.ARWorldMap,Foundation.NSError> completionHandler);
abstract member GetCurrentWorldMap : Action<ARKit.ARWorldMap, Foundation.NSError> -> unit
override this.GetCurrentWorldMap : Action<ARKit.ARWorldMap, Foundation.NSError> -> unit

Parameters

completionHandler
Action<ARWorldMap,NSError>

A handler that receives the map, if present, and an error, if one occured.

Attributes

Applies to