int pointerId = motionEvent.GetPointerId(0);
int pointerCount = motionEvent.PointerCount; for (int i = 0; i < pointerCount; i++) { int pointerId = motionEvent.GetPointerId(i); // do something with the pointerId }This code retrieves the ID of each pointer in the MotionEvent object `motionEvent` by using a loop to iterate through all the pointers in the object. Package library: Xamarin.Android.Views.