Sensor.IsDirectChannelTypeSupported(SensorDirectChannelType) Method

Definition

Test if a sensor supports a specified direct channel type.

[Android.Runtime.Register("isDirectChannelTypeSupported", "(I)Z", "GetIsDirectChannelTypeSupported_IHandler", ApiSince=26)]
public virtual bool IsDirectChannelTypeSupported (Android.Hardware.SensorDirectChannelType sharedMemType);
[<Android.Runtime.Register("isDirectChannelTypeSupported", "(I)Z", "GetIsDirectChannelTypeSupported_IHandler", ApiSince=26)>]
abstract member IsDirectChannelTypeSupported : Android.Hardware.SensorDirectChannelType -> bool
override this.IsDirectChannelTypeSupported : Android.Hardware.SensorDirectChannelType -> bool

Parameters

sharedMemType
SensorDirectChannelType

type of shared memory used by direct channel.

Returns

true if the specified shared memory type is supported.

Attributes

Remarks

Test if a sensor supports a specified direct channel type.

Java documentation for android.hardware.Sensor.isDirectChannelTypeSupported(int).

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