InputDevice.MotionRange.IsFromSource(InputSourceType) InputDevice.MotionRange.IsFromSource(InputSourceType) Method

Definition

Determines whether the event is from the given source.

[Android.Runtime.Register("isFromSource", "(I)Z", "", ApiSince=18)]
public bool IsFromSource (Android.Views.InputSourceType source);
member this.IsFromSource : Android.Views.InputSourceType -> bool

Parameters

source
InputSourceType InputSourceType

The input source to check against. This can be a specific device type, such as SourceTouchNavigation, or a more generic device class, such as SourceClassPointer.

Returns

Remarks

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