Android.Service.Dreams.DreamService Members

The members of Android.Service.Dreams.DreamService are listed below.

See Also: Inherited members from Android.App.Service

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
DreamMetaDatastring. Name under which a Dream publishes information about itself.
const
ServiceInterfacestring. The Android.Content.Intent that must be declared as handled by the service.

Public Properties

Fullscreenbool. Returns whether or not this dream is in fullscreen mode.
Interactivebool. Returns whether or not this dream is interactive.
ScreenBrightbool. Returns whether or not this dream keeps the screen bright while dreaming.
[read-only]
WindowAndroid.Views.Window. Retrieves the current Android.Views.Window for the dream.
[read-only]
WindowManagerAndroid.Views.IWindowManager. Retrieves the current Android.Views.IWindowManager for the dream.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddContentView(Android.Views.View, Android.Views.ViewGroup.LayoutParams)
Adds a view to the Dream's window, leaving other content views in place.
DispatchGenericMotionEvent(Android.Views.MotionEvent) : bool
Called to process generic motion events.
DispatchKeyEvent(Android.Views.KeyEvent) : bool
Called to process key events.
DispatchKeyShortcutEvent(Android.Views.KeyEvent) : bool
Called to process a key shortcut event.
DispatchPopulateAccessibilityEvent(Android.Views.Accessibility.AccessibilityEvent) : bool
Called to process population of Android.Views.Accessibility.AccessibilityEvents.
DispatchTouchEvent(Android.Views.MotionEvent) : bool
Called to process touch screen events.
DispatchTrackballEvent(Android.Views.MotionEvent) : bool
Called to process trackball events.
FindViewById(int) : Android.Views.View
Finds a view that was identified by the id attribute from the XML that was processed in DreamService.onCreate().
Finish()
Stops the dream and detaches from the window.
OnActionModeFinished(Android.Views.ActionMode)
Called when an action mode has been finished.
OnActionModeStarted(Android.Views.ActionMode)
Called when an action mode has been started.
OnAttachedToWindow()
Called when the window has been attached to the window manager.
override
OnBind(Android.Content.Intent) : Android.OS.IBinder
Return the communication channel to the service.
OnContentChanged()
This hook is called whenever the content view of the screen changes (due to a call to Android.Views.Window.SetContentView(Android.Views.View, .LayoutParams) or Android.Views.Window.AddContentView(Android.Views.View, .LayoutParams)).
OnCreatePanelMenu(int, Android.Views.IMenu) : bool
Initialize the contents of the menu for panel 'featureId'.
OnCreatePanelView(int) : Android.Views.View
Instantiate the view to display in the panel for 'featureId'.
OnDetachedFromWindow()
Called when the window has been attached to the window manager.
OnDreamingStarted()
Called when the dream's window has been created and is visible and animation may now begin.
OnDreamingStopped()
Called when this Dream is stopped, either by external request or by calling finish(), before the window has been removed.
OnMenuItemSelected(int, Android.Views.IMenuItem) : bool
Called when a panel's menu item has been selected by the user.
OnMenuOpened(int, Android.Views.IMenu) : bool
Called when a panel's menu is opened by the user.
OnPanelClosed(int, Android.Views.IMenu)
Called when a panel is being closed.
OnPreparePanel(int, Android.Views.View, Android.Views.IMenu) : bool
Prepare a panel to be displayed.
OnSearchRequested() : bool
Called when the user signals the desire to start a search.
OnWakeUp()
Called when the dream is being asked to stop itself and wake.
OnWindowAttributesChanged(Android.Views.WindowManagerLayoutParams)
This is called whenever the current window attributes change.
OnWindowFocusChanged(bool)
This hook is called whenever the window focus changes.
OnWindowStartingActionMode(Android.Views.ActionMode.ICallback) : Android.Views.ActionMode
Called when an action mode is being started for this window.
SetContentView(Android.Views.View)
Sets a view to be the content view for this Dream.
SetContentView(int)
Inflates a layout resource and set it to be the content view for this Dream.
SetContentView(Android.Views.View, Android.Views.ViewGroup.LayoutParams)
Sets a view to be the content view for this Dream.
WakeUp()
Wakes the dream up gently.