MBXLocationErrorCode.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Codes of location errors. */
  4. // NOLINTNEXTLINE(modernize-use-using)
  5. typedef NS_ENUM(NSInteger, MBXLocationErrorCode)
  6. {
  7. /** No error occured. */
  8. MBXLocationErrorCodeNone,
  9. /** Not ready for the requested operation. */
  10. MBXLocationErrorCodeNotReady,
  11. /** The subject of the request is not available. */
  12. MBXLocationErrorCodeNotAvailable,
  13. /** The app is not authorized to access location. */
  14. MBXLocationErrorCodeAccessDenied,
  15. /** Invalid argument. */
  16. MBXLocationErrorCodeInvalidArgument,
  17. /** Failed to detect location. */
  18. MBXLocationErrorCodeFailedToDetectLocation,
  19. /** Failed to communicate with the platform service. */
  20. MBXLocationErrorCodeCommunicationFailure,
  21. /** Operation was cancelled. */
  22. MBXLocationErrorCodeCancelled,
  23. /** Requested feature is not implemented or no supported by the device. */
  24. MBXLocationErrorCodeNotSupported,
  25. /** Reserved fallback for unclassified failures. */
  26. MBXLocationErrorCodeUnknown
  27. } NS_SWIFT_NAME(LocationErrorCode);
  28. NSString* MBXLocationErrorCodeToString(MBXLocationErrorCode location_error_code);