InputDevice.SensorManager Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the sensor manager service associated with the input device.
public Android.Hardware.SensorManager SensorManager { [Android.Runtime.Register("getSensorManager", "()Landroid/hardware/SensorManager;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSensorManager", "()Landroid/hardware/SensorManager;", "", ApiSince=31)>]
member this.SensorManager : Android.Hardware.SensorManager
Property Value
The sensor manager service associated with the device, never null.
- Attributes
Remarks
Gets the sensor manager service associated with the input device. Even if the device does not have a sensor, the result is never null. Use SensorManager#getSensorList
to get a full list of all supported sensors.
Note that the sensors associated with the device may be different from the system sensors, as typically they are builtin sensors physically attached to input devices.
Java documentation for android.view.InputDevice.getSensorManager()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.