Freigeben über


Sensor.HighestDirectReportRateLevel Property

Definition

Get the highest supported direct report mode rate level of the sensor.

public virtual Android.Hardware.SensorDirectRateLevel HighestDirectReportRateLevel { [Android.Runtime.Register("getHighestDirectReportRateLevel", "()I", "GetGetHighestDirectReportRateLevelHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getHighestDirectReportRateLevel", "()I", "GetGetHighestDirectReportRateLevelHandler", ApiSince=26)>]
member this.HighestDirectReportRateLevel : Android.Hardware.SensorDirectRateLevel

Property Value

Highest direct report rate level of this sensor. Note that if the app does not have the android.Manifest.permission#HIGH_SAMPLING_RATE_SENSORS permission, the highest direct report rate level is SensorDirectChannel#RATE_NORMAL. If the sensor does not support direct report mode, this returns SensorDirectChannel#RATE_STOP.

Attributes

Remarks

Get the highest supported direct report mode rate level of the sensor.

Java documentation for android.hardware.Sensor.getHighestDirectReportRateLevel().

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