TriggerEvent.Values 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.
The length and contents of the #values values
array depends on
which android.hardware.Sensor sensor
type is being monitored (see
also SensorEvent
for a definition of the coordinate system used).
[Android.Runtime.Register("values")]
public System.Collections.Generic.IList<float>? Values { get; set; }
[<Android.Runtime.Register("values")>]
member this.Values : System.Collections.Generic.IList<single> with get, set
Property Value
- Attributes
Remarks
The length and contents of the #values values
array depends on which android.hardware.Sensor sensor
type is being monitored (see also SensorEvent
for a definition of the coordinate system used).
<h4> Sensor#TYPE_SIGNIFICANT_MOTION
</h4> The value field is of length 1. value[0] = 1.0 when the sensor triggers. 1.0 is the only allowed value.
Java documentation for android.hardware.TriggerEvent.values
.
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.