Class NIErrorCode


  • public final class NIErrorCode
    extends java.lang.Object
    Error codes for nearby interaction session failures.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • UnsupportedPlatform

        public static final long UnsupportedPlatform
        The platform does not support this operation
        See Also:
        Constant Field Values
      • InvalidConfiguration

        public static final long InvalidConfiguration
        Configuration is unsupported
        See Also:
        Constant Field Values
      • SessionFailed

        public static final long SessionFailed
        The session has failed and cannot be restarted
        See Also:
        Constant Field Values
      • ResourceUsageTimeout

        public static final long ResourceUsageTimeout
        The session has been active for over the allowed period
        See Also:
        Constant Field Values
      • ActiveSessionsLimitExceeded

        public static final long ActiveSessionsLimitExceeded
        The maximum number of active sessions was exceeded
        See Also:
        Constant Field Values
      • UserDidNotAllow

        public static final long UserDidNotAllow
        The user did not authorize the session
        See Also:
        Constant Field Values
      • InvalidARConfiguration

        public static final long InvalidARConfiguration
        ARSession Configuration provided is not compatible or the platform does not support camera assistance. API-Since: 16.0
        See Also:
        Constant Field Values
      • AccessoryPeerDeviceUnavailable

        public static final long AccessoryPeerDeviceUnavailable
        A Nearby Accessory session has been associated with a peer device (such as a Bluetooth peer) that is not available API-Since: 16.0
        See Also:
        Constant Field Values
      • IncompatiblePeerDevice

        public static final long IncompatiblePeerDevice
        The NINearbyPeerConfiguration provided is not compatible with the capabilities of the peer device API-Since: 17.0
        See Also:
        Constant Field Values
      • ActiveExtendedDistanceSessionsLimitExceeded

        public static final long ActiveExtendedDistanceSessionsLimitExceeded
        The maximum number of active extended distance measurement sessions was exceeded API-Since: 17.0
        See Also:
        Constant Field Values