Expand description
§Bindings to the NearbyInteraction framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- NIAlgorithm
Convergence NISession - Apple’s documentation
- NIAlgorithm
Convergence Status NISession - Expose algorithm state to make it possible for apps to coach users.
- NIConfiguration
NIConfiguration - An object to describe and configure parameters to be used in a nearby interaction session.
- NIDLTDOA
Configuration NIConfiguration - A session configuration that enables UWB Down Link Time Difference of Arrival(DL-TDoA) ranging with nearby anchors.
- NIDLTDOA
Coordinates Type NIDLTDOAMeasurement - The coordinate types of DL-TDOA measurement updates that Nearby Interaction supports.
- NIDLTDOA
Measurement NIDLTDOAMeasurement - Represents a single measurement relative to a DL-TDOA anchor.
- NIDLTDOA
Measurement Type NIDLTDOAMeasurement - The measurement types of DL-TDOA measurement updates that Nearby Interaction supports.
- NIDiscovery
Token NIConfiguration - A type used to uniquely discover and identify a device in a nearby interaction session.
- NIError
Code NIError - Error codes for nearby interaction session failures.
- NINearby
Accessory Configuration NIConfiguration - A session configuration that enables interaction with supported accessories.
- NINearby
Object NINearbyObject - A nearby object with distance and direction measurements.
- NINearby
Object Removal Reason NISession - Reasons to remove a nearby object.
- NINearby
Object Vertical Direction Estimate NINearbyObject - Apple’s documentation
- NINearby
Peer Configuration NIConfiguration - An object to describe and configure parameters to be used in a nearby interaction session for mutual relative positional measurements.
- NISession
NISession - Nearby interaction session.
Statics§
- NIAlgorithm
Convergence ⚠Status Reason Insufficient Horizontal Sweep NIAlgorithmConvergenceStatusReason - Tell user to sweep device horizontally from side to side.
- NIAlgorithm
Convergence ⚠Status Reason Insufficient Lighting NIAlgorithmConvergenceStatusReason - Tell user to turn on the light.
- NIAlgorithm
Convergence ⚠Status Reason Insufficient Movement NIAlgorithmConvergenceStatusReason - Tell user to move around.
- NIAlgorithm
Convergence ⚠Status Reason Insufficient Vertical Sweep NIAlgorithmConvergenceStatusReason - Tell user to sweep device verically up and down.
- NIError
Domain ⚠NIError - Apple’s documentation
- NINearby
Object ⚠Angle NotAvailable NINearbyObject - A sentinel value indicating that an angle could not be produced
- NINearby
Object ⚠Distance NotAvailable NINearbyObject - A sentinel value indicating that a distance measurement could not be produced
Traits§
- NIDevice
Capability NIDeviceCapability - Apple’s documentation
- NISession
Delegate NISession - Delegate for nearby interaction session updates.
Functions§
- NIAlgorithm
Convergence ⚠Status Reason Description NIAlgorithmConvergenceStatusReason - Helper methods for getting the localized description of the convergence reason
Type Aliases§
- NIAlgorithm
Convergence Status Reason NIAlgorithmConvergenceStatusReason - Reasons for the convergence state.