Class PlatformView
Adds additional functionality to the SKCanvasView control.
public class PlatformView : SKCanvasView, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, View.IOnLongClickListener, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
PlatformView
- Implements
Constructors
Fields
Properties
- HasPointerCapture
Checks pointer capture status.
- IsInEditMode
Indicates whether this View is currently in edit mode.
- IsInTouchMode
Returns the touch mode state associated with this view.
Methods
- DispatchPointerCaptureChanged(bool)
To be added.
- OnCapturedPointerEvent(MotionEvent?)
Implement this method to handle captured pointer events
- OnCheckIsTextEditor()
Check whether the called view is a text editor, in which case it would make sense to automatically display a soft input window for it.
- OnFocusChanged(bool, FocusSearchDirection, Rect?)
Called by the view system when the focus state of this view changes.
- OnKeyDown(Keycode, KeyEvent?)
Default implementation of
KeyEvent.Callback#onKeyDown(int, KeyEvent) KeyEvent.Callback.onKeyDown(): perform press of the view whenKeyEvent#KEYCODE_DPAD_CENTERorKeyEvent#KEYCODE_ENTERis released, if the view is enabled and clickable.
- OnKeyLongPress(Keycode, KeyEvent?)
Default implementation of
KeyEvent.Callback#onKeyLongPress(int, KeyEvent) KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).
- OnKeyMultiple(Keycode, int, KeyEvent?)
Default implementation of
KeyEvent.Callback#onKeyMultiple(int, int, KeyEvent) KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).
- OnKeyUp(Keycode, KeyEvent?)
Default implementation of
KeyEvent.Callback#onKeyUp(int, KeyEvent) KeyEvent.Callback.onKeyUp(): perform clicking of the view whenKeyEvent#KEYCODE_DPAD_CENTER,KeyEvent#KEYCODE_ENTERorKeyEvent#KEYCODE_SPACEis released.