VirtualDevice.HasCustomSensorSupport 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.
Returns whether this device may have custom sensors.
public bool HasCustomSensorSupport { [Android.Runtime.Register("hasCustomSensorSupport", "()Z", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("hasCustomSensorSupport", "()Z", "", ApiSince=35)>]
member this.HasCustomSensorSupport : bool
Property Value
- Attributes
Remarks
Returns whether this device may have custom sensors.
Returning true
does not necessarily mean that this device has sensors, it only means that a android.hardware.SensorManager
instance created from a Context
associated with this device will return this device's sensors, if any.
Java documentation for android.companion.virtual.VirtualDevice.hasCustomSensorSupport()
.
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.