Package apple.nearbyinteraction.enums
Class NIErrorCode
- java.lang.Object
-
- apple.nearbyinteraction.enums.NIErrorCode
-
public final class NIErrorCode extends java.lang.ObjectError codes for nearby interaction session failures.
-
-
Field Summary
Fields Modifier and Type Field Description static longAccessoryPeerDeviceUnavailableA Nearby Accessory session has been associated with a peer device (such as a Bluetooth peer) that is not available API-Since: 16.0static longActiveExtendedDistanceSessionsLimitExceededThe maximum number of active extended distance measurement sessions was exceeded API-Since: 17.0static longActiveSessionsLimitExceededThe maximum number of active sessions was exceededstatic longIncompatiblePeerDeviceThe NINearbyPeerConfiguration provided is not compatible with the capabilities of the peer device API-Since: 17.0static longInvalidARConfigurationARSession Configuration provided is not compatible or the platform does not support camera assistance.static longInvalidConfigurationConfiguration is unsupportedstatic longResourceUsageTimeoutThe session has been active for over the allowed periodstatic longSessionFailedThe session has failed and cannot be restartedstatic longUnsupportedPlatformThe platform does not support this operationstatic longUserDidNotAllowThe user did not authorize the session
-
-
-
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
-
-