NIError.Code.userDidNotAllow
An error code that indicates that the user declined the request to share their relative position with nearby devices.
Declaration
case userDidNotAllowMentioned in
Discussion
In this case, the user needs to enable Nearby Interaction in Settings. For more information, see Initiating and maintaining a session.
See Also
Errors
NIError.Code.activeSessionsLimitExceededNIError.Code.invalidConfigurationNIError.Code.resourceUsageTimeoutNIError.Code.sessionFailedNIError.Code.unsupportedPlatformNIError.Code.invalidARConfigurationNIError.Code.accessoryPeerDeviceUnavailableNIError.Code.incompatiblePeerDeviceNIError.Code.activeExtendedDistanceSessionsLimitExceeded