diff --git a/src/arkit.cs b/src/arkit.cs index 21682d72cf59..a35eaefd3cbc 100644 --- a/src/arkit.cs +++ b/src/arkit.cs @@ -7,6 +7,8 @@ // Copyright 2017 Microsoft Inc. All rights reserved. // +#nullable enable + using System; using System.ComponentModel; using System.Numerics; @@ -724,7 +726,7 @@ interface ARReferenceImage : NSCopying { [iOS (13, 0)] [Async] [Export ("validateWithCompletionHandler:")] - void Validate (Action completionHandler); + void Validate (Action completionHandler); /// To be added. /// To be added. @@ -1010,7 +1012,7 @@ interface ARSession { To be added. """)] [Export ("getCurrentWorldMapWithCompletionHandler:")] - void GetCurrentWorldMap (Action completionHandler); + void GetCurrentWorldMap (Action completionHandler); [Async (XmlDocs = """ The transform to the position and orientation of the region from which to create a reference object. @@ -1022,7 +1024,7 @@ interface ARSession { """)] [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] [Export ("createReferenceObjectWithTransform:center:extent:completionHandler:")] - void CreateReferenceObject (Matrix4 transform, Vector3 center, Vector3 extent, Action completionHandler); + void CreateReferenceObject (Matrix4 transform, Vector3 center, Vector3 extent, Action completionHandler); [iOS (13, 0)] [Export ("raycast:")] @@ -1047,7 +1049,7 @@ interface ARSession { [iOS (16, 0)] [Async] [Export ("captureHighResolutionFrameWithCompletion:")] - void CaptureHighResolutionFrame (Action handler); + void CaptureHighResolutionFrame (Action handler); } /// Interface defining methods that respond to events in an . @@ -2696,12 +2698,12 @@ interface ARGeoTrackingConfiguration { [Async] [Static] [Export ("checkAvailabilityWithCompletionHandler:")] - void CheckAvailability (Action completionHandler); + void CheckAvailability (Action completionHandler); [Async] [Static] [Export ("checkAvailabilityAtCoordinate:completionHandler:")] - void CheckAvailability (CLLocationCoordinate2D coordinate, Action completionHandler); + void CheckAvailability (CLLocationCoordinate2D coordinate, Action completionHandler); [Static] [Export ("new")]