Skip to content

Commit

Permalink
[arkit] Update for Xcode 9 beta 3 (#2310)
Browse files Browse the repository at this point in the history
- Fixes bug #58057: ARKit.ARHitTestResultType should have FlagAttribute
  (https://bugzilla.xamarin.com/show_bug.cgi?id=58057)
  • Loading branch information
VincentDondain authored Jul 11, 2017
1 parent fed350c commit 6f32d6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/arkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public enum ARTrackingState : nint {
[Native]
public enum ARTrackingStateReason : nint {
None,
Initializing,
ExcessiveMotion,
InsufficientFeatures,
}
Expand All @@ -51,11 +52,13 @@ public enum ARErrorCode : nint {
UnsupportedConfiguration = 100,
SensorUnavailable = 101,
SensorFailed = 102,
CameraUnauthorized = 103,
WorldTrackingFailed = 200,
}

[iOS (11,0)]
[NoWatch, NoTV, NoMac]
[Flags]
[Native]
public enum ARHitTestResultType : nuint {
FeaturePoint = 1 << 0,
Expand All @@ -73,6 +76,7 @@ public enum ARPlaneAnchorAlignment : nint {

[iOS (11,0)]
[NoWatch, NoTV, NoMac]
[Flags]
[Native]
public enum ARSessionRunOptions : nuint {
ResetTracking = 1 << 0,
Expand All @@ -90,6 +94,7 @@ public enum ARWorldAlignment : nint {

[iOS (11,0)]
[NoWatch, NoTV, NoMac]
[Flags]
[Native]
public enum ARPlaneDetection : nuint {
None = 0,
Expand Down

0 comments on commit 6f32d6f

Please sign in to comment.