Class NearbyInteraction


  • public final class NearbyInteraction
    extends java.lang.Object
    • Method Detail

      • NIErrorDomain

        @NotNull
        public static @NotNull java.lang.String NIErrorDomain()
        API-Since: 14.0
      • NINearbyObjectDistanceNotAvailable

        public static float NINearbyObjectDistanceNotAvailable()
        A sentinel value indicating that a distance measurement could not be produced API-Since: 14.0
      • NIAlgorithmConvergenceStatusReasonDescription

        @NotNull
        public static @NotNull java.lang.String NIAlgorithmConvergenceStatusReasonDescription​(@NotNull
                                                                                              @NotNull java.lang.String reason)
        Helper methods for getting the localized description of the convergence reason API-Since: 16.0
      • NIAlgorithmConvergenceStatusReasonInsufficientHorizontalSweep

        @NotNull
        public static @NotNull java.lang.String NIAlgorithmConvergenceStatusReasonInsufficientHorizontalSweep()
        Tell user to sweep device horizontally from side to side. API-Since: 16.0
      • NIAlgorithmConvergenceStatusReasonInsufficientVerticalSweep

        @NotNull
        public static @NotNull java.lang.String NIAlgorithmConvergenceStatusReasonInsufficientVerticalSweep()
        Tell user to sweep device verically up and down. API-Since: 16.0
      • NIAlgorithmConvergenceStatusReasonInsufficientMovement

        @NotNull
        public static @NotNull java.lang.String NIAlgorithmConvergenceStatusReasonInsufficientMovement()
        Tell user to move around. API-Since: 16.0
      • NIAlgorithmConvergenceStatusReasonInsufficientLighting

        @NotNull
        public static @NotNull java.lang.String NIAlgorithmConvergenceStatusReasonInsufficientLighting()
        Tell user to turn on the light. API-Since: 16.0
      • NINearbyObjectAngleNotAvailable

        public static float NINearbyObjectAngleNotAvailable()
        A sentinel value indicating that an angle could not be produced API-Since: 16.0