InputEvent.IsFromSource(InputSourceType) Method
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.
Determines whether the event is from the given source.
[Android.Runtime.Register("isFromSource", "(I)Z", "GetIsFromSource_IHandler")]
public virtual bool IsFromSource (Android.Views.InputSourceType source);
[<Android.Runtime.Register("isFromSource", "(I)Z", "GetIsFromSource_IHandler")>]
abstract member IsFromSource : Android.Views.InputSourceType -> bool
override this.IsFromSource : Android.Views.InputSourceType -> bool
- source
- InputSourceType
The input source to check against. This can be a specific device type, such as
InputDevice#SOURCE_TOUCH_NAVIGATION
, or a more generic device class, such as
InputDevice#SOURCE_CLASS_POINTER
.
Whether the event is from the given source.
- Attributes
Determines whether the event is from the given source.
Java documentation for android.view.InputEvent.isFromSource(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.