Class ENErrorCode


  • public final class ENErrorCode
    extends java.lang.Object
    Error codes used with ENErrorDomain. API-Since: 12.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long APIMisuse
      Exposure Notification has not been enabled.
      static long BadFormat
      Exposure Notification is disabled due to system policies.
      static long BadParameter
      Underlying failure with an unknown cause.
      static long BluetoothOff
      Invalidate was called before the operation completed normally.
      static long DataInaccessible
      File or data format problem.
      static long InsufficientMemory
      Internal error.
      static long InsufficientStorage
      Bluetooth was turned off the by user.
      static long Internal
      The API was used incorrectly.
      static long Invalidated
      Operation is not supported.
      static long NotAuthorized
      Calling process doesn't have the correct entitlement.
      static long NotEnabled
      Insufficient storage space to enable Exposure Notification.
      static long NotEntitled
      Missing or incorrect parameter.
      static long RateLimited
      Not enough memory to perform an operation.
      static long Restricted
      API called too frequently.
      static long TravelStatusNotAvailable
      The device must be unlocked before data is accessible.
      static long Unknown
      API-Since: 12.5
      static long Unsupported
      User denied this process access to Exposure Notification functionality.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BadParameter

        public static final long BadParameter
        Underlying failure with an unknown cause. API-Since: 12.5
        See Also:
        Constant Field Values
      • NotEntitled

        public static final long NotEntitled
        Missing or incorrect parameter. API-Since: 12.5
        See Also:
        Constant Field Values
      • NotAuthorized

        public static final long NotAuthorized
        Calling process doesn't have the correct entitlement. API-Since: 12.5
        See Also:
        Constant Field Values
      • Unsupported

        public static final long Unsupported
        User denied this process access to Exposure Notification functionality. API-Since: 12.5
        See Also:
        Constant Field Values
      • Invalidated

        public static final long Invalidated
        Operation is not supported. API-Since: 12.5
        See Also:
        Constant Field Values
      • BluetoothOff

        public static final long BluetoothOff
        Invalidate was called before the operation completed normally. API-Since: 12.5
        See Also:
        Constant Field Values
      • InsufficientStorage

        public static final long InsufficientStorage
        Bluetooth was turned off the by user. API-Since: 12.5
        See Also:
        Constant Field Values
      • NotEnabled

        public static final long NotEnabled
        Insufficient storage space to enable Exposure Notification. API-Since: 12.5
        See Also:
        Constant Field Values
      • APIMisuse

        public static final long APIMisuse
        Exposure Notification has not been enabled. API-Since: 12.5
        See Also:
        Constant Field Values
      • Internal

        public static final long Internal
        The API was used incorrectly. API-Since: 12.5
        See Also:
        Constant Field Values
      • InsufficientMemory

        public static final long InsufficientMemory
        Internal error. This indicates a bug in this framework. API-Since: 12.5
        See Also:
        Constant Field Values
      • RateLimited

        public static final long RateLimited
        Not enough memory to perform an operation. API-Since: 12.5
        See Also:
        Constant Field Values
      • Restricted

        public static final long Restricted
        API called too frequently. See API for acceptable frequency. API-Since: 12.5
        See Also:
        Constant Field Values
      • BadFormat

        public static final long BadFormat
        Exposure Notification is disabled due to system policies. API-Since: 12.5
        See Also:
        Constant Field Values
      • DataInaccessible

        public static final long DataInaccessible
        File or data format problem. API-Since: 12.5
        See Also:
        Constant Field Values
      • TravelStatusNotAvailable

        public static final long TravelStatusNotAvailable
        The device must be unlocked before data is accessible. API-Since: 12.5
        See Also:
        Constant Field Values