KeyEvent.KeycodeScreenshot Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.
Key code constant: To take a screenshot
This key is fully handled by the framework and will not be sent to the foreground app,
unlike <code data-dev-comment-type="c">KEYCODE_SYSRQ</code> which is sent to the app first and only if the app
doesn't handle it, the framework handles it (to take a screenshot).
[Android.Runtime.Register("KEYCODE_SCREENSHOT", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.", true)]
public const Android.Views.Keycode KeycodeScreenshot = 318;
[<Android.Runtime.Register("KEYCODE_SCREENSHOT", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.", true)>]
val mutable KeycodeScreenshot : Android.Views.Keycode
Field Value
Value = 318Implements
- Attributes
Remarks
Key code constant: To take a screenshot
This key is fully handled by the framework and will not be sent to the foreground app, unlike KEYCODE_SYSRQ
which is sent to the app first and only if the app doesn't handle it, the framework handles it (to take a screenshot).
Java documentation for android.view.KeyEvent.KEYCODE_SCREENSHOT
.
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.