KeyEvent.KeycodeScreenshot Feld

Definition

Achtung

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

Schlüsselcodekonstante: So erstellen Sie einen 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

Feldwert

Value = 318

Implementiert

Attribute

Hinweise

Schlüsselcodekonstante: So erstellen Sie einen Screenshot

Dieser Schlüssel wird vollständig vom Framework behandelt und wird nicht an die Vordergrund-App gesendet, im Gegensatz KEYCODE_SYSRQ dazu, dass er zuerst an die App gesendet wird, und nur dann, wenn die App sie nicht behandelt, behandelt das Framework sie (um einen Screenshot zu erstellen).

Java Dokumentation für android.view.KeyEvent.KEYCODE_SCREENSHOT.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: