Android Guides | Samples

Android.App.UiAutomation.TakeScreenshot Method

Takes a screenshot.

Syntax

[Android.Runtime.Register("takeScreenshot", "()Landroid/graphics/Bitmap;", "")]
public Bitmap TakeScreenshot ()

Remarks

Takes a screenshot.

[Android Documentation]

Requirements

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