HardwareButtons Classe

Definizione

Fornisce l'accesso ai pulsanti hardware del telefono.

public ref class HardwareButtons abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HardwareButtons final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class HardwareButtons
Public Class HardwareButtons
Ereditarietà
Object Platform::Object IInspectable HardwareButtons
Attributi

Requisiti Windows

Requisiti Descrizione
Famiglia di dispositivi
Windows Mobile Extension SDK (è stato introdotto in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (è stato introdotto in v1.0)

Commenti

Windows Phone 8

Questa API è supportata solo nelle app native.

Eventi

Nome Descrizione
BackPressed

Si verifica quando l'utente preme il pulsante Indietro hardware.

CameraHalfPressed

Si verifica quando l'utente preme il pulsante della fotocamera hardware a metà strada.

CameraPressed

Si verifica quando l'utente preme il pulsante della fotocamera hardware.

CameraReleased

Si verifica quando l'utente rilascia il pulsante della fotocamera hardware.

Si applica a

Vedi anche