语言

KeyEvent.KeycodeScreenshot 字段

定义

注意

This constant will be removed in the future version. Use Android.Views.Keycode enum directly instead of this field.

关键代码常量:拍摄屏幕截图。

[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

字段值

Value = 318

实现

特性

注解

关键代码常量:拍摄屏幕截图

此密钥由框架完全处理,不会发送到前台应用,这与先发送到应用不同 KEYCODE_SYSRQ ,仅当应用未处理它时,框架才会处理它(要获取屏幕截图)。

适用于 . 的 android.view.KeyEvent.KEYCODE_SCREENSHOTJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于