Android.App.Activity.OnCreateThumbnail Method
Generate a new thumbnail for this activity.

Syntax

[Android.Runtime.Register("onCreateThumbnail", "(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z", "GetOnCreateThumbnail_Landroid_graphics_Bitmap_Landroid_graphics_Canvas_Handler")]
public virtual bool OnCreateThumbnail (Android.Graphics.Bitmap outBitmap, Android.Graphics.Canvas canvas)

See Also

Activity.OnCreateDescriptionFormatted
Activity.OnSaveInstanceState(Android.OS.Bundle)
Activity.OnPause

Parameters

outBitmap
The bitmap to contain the thumbnail.
canvas
Can be used to render into the bitmap.

Returns

Documentation for this section has not yet been entered.

Remarks

Generate a new thumbnail for this activity. This method is called before pausing the activity, and should draw into outBitmap the imagery for the desired thumbnail in the dimensions of that bitmap. It can use the given canvas, which is configured to draw into the bitmap, for rendering if desired.

The default implementation returns fails and does not draw a thumbnail; this will result in the platform creating its own thumbnail if needed.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1