Sensor.Id 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.
public virtual int Id { [Android.Runtime.Register("getId", "()I", "GetGetIdHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getId", "()I", "GetGetIdHandler", ApiSince=24)>]
member this.Id : int
Property Value
The sensor id that will be unique for the same app unless the device is factory reset. Return value of 0 means this sensor does not support this function; return value of -1 means this sensor can be uniquely identified in system by combination of its type and name.
- Attributes
Remarks
Java documentation for android.hardware.Sensor.getId()
.
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.