com.qualcomm.robotcore.hardware

## Interface UltrasonicSensor

- All Superinterfaces:
    HardwareDevice

      public interface UltrasonicSensor
      extends HardwareDevice

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice

      `HardwareDevice.Manufacturer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getUltrasonicLevel()` Get the Ultrasonic levels from this sensor
    `java.lang.String` | `status()` Status of this sensor, in string form

    - ### Methods inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice

      `close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode`

- - ### Method Detail

    - #### getUltrasonicLevel

          double getUltrasonicLevel()

      Get the Ultrasonic levels from this sensor
      Returns:
        ultrasonic levels

    - #### status

          java.lang.String status()

      Status of this sensor, in string form
      Returns:
        status