Window.ICallback Window.ICallback Interface

Definition

API from a Window back to its caller.

[Android.Runtime.Register("android/view/Window$Callback", "", "Android.Views.Window/ICallbackInvoker", ApiSince=1)]
public interface Window.ICallback : Android.Runtime.IJavaObject, IDisposable
type Window.ICallback = interface
    interface IJavaObject
    interface IDisposable
Attributes
Implements

Remarks

Android platform documentation

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.

Methods

DispatchGenericMotionEvent(MotionEvent) DispatchGenericMotionEvent(MotionEvent)

Called to process generic motion events.

DispatchKeyEvent(KeyEvent) DispatchKeyEvent(KeyEvent)

Called to process key events.

DispatchKeyShortcutEvent(KeyEvent) DispatchKeyShortcutEvent(KeyEvent)

Called to process a key shortcut event.

DispatchPopulateAccessibilityEvent(AccessibilityEvent) DispatchPopulateAccessibilityEvent(AccessibilityEvent)

Called to process population of AccessibilityEvents.

DispatchTouchEvent(MotionEvent) DispatchTouchEvent(MotionEvent)

Called to process touch screen events.

DispatchTrackballEvent(MotionEvent) DispatchTrackballEvent(MotionEvent)

Called to process trackball events.

OnActionModeFinished(ActionMode) OnActionModeFinished(ActionMode)

Called when an action mode has been finished.

OnActionModeStarted(ActionMode) OnActionModeStarted(ActionMode)

Called when an action mode has been started.

OnAttachedToWindow() OnAttachedToWindow()

Called when the window has been attached to the window manager.

OnContentChanged() OnContentChanged()

This hook is called whenever the content view of the screen changes (due to a call to SetContentView(View, ViewGroup+LayoutParams) or AddContentView(View, ViewGroup+LayoutParams)).

OnCreatePanelMenu(Int32, IMenu) OnCreatePanelMenu(Int32, IMenu)

Initialize the contents of the menu for panel 'featureId'.

OnCreatePanelView(Int32) OnCreatePanelView(Int32)

Instantiate the view to display in the panel for 'featureId'.

OnDetachedFromWindow() OnDetachedFromWindow()

Called when the window has been attached to the window manager.

OnMenuItemSelected(Int32, IMenuItem) OnMenuItemSelected(Int32, IMenuItem)

Called when a panel's menu item has been selected by the user.

OnMenuOpened(Int32, IMenu) OnMenuOpened(Int32, IMenu)

Called when a panel's menu is opened by the user.

OnPanelClosed(Int32, IMenu) OnPanelClosed(Int32, IMenu)

Called when a panel is being closed.

OnPreparePanel(Int32, View, IMenu) OnPreparePanel(Int32, View, IMenu)

Prepare a panel to be displayed.

OnSearchRequested() OnSearchRequested()

Called when the user signals the desire to start a search.

OnSearchRequested(SearchEvent) OnSearchRequested(SearchEvent)
OnWindowAttributesChanged(WindowManagerLayoutParams) OnWindowAttributesChanged(WindowManagerLayoutParams)

This is called whenever the current window attributes change.

OnWindowFocusChanged(Boolean) OnWindowFocusChanged(Boolean)

This hook is called whenever the window focus changes.

OnWindowStartingActionMode(ActionMode+ICallback) OnWindowStartingActionMode(ActionMode+ICallback)

Called when an action mode is being started for this window.

OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType) OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to