다음을 통해 공유


VirtualDevice.HasCustomSensorSupport Property

Definition

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.

Applies to