Condividi tramite


SensorEvent.Sensor Property

Definition

The sensor that generated this event.

[Android.Runtime.Register("sensor")]
public Android.Hardware.Sensor? Sensor { get; set; }
[<Android.Runtime.Register("sensor")>]
member this.Sensor : Android.Hardware.Sensor with get, set

Property Value

Attributes

Remarks

The sensor that generated this event. See android.hardware.SensorManager SensorManager for details.

Java documentation for android.hardware.SensorEvent.sensor.

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