AppNotificationSoundEvent Énumération
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie les événements sonores système qui peuvent être lus lorsqu’une notification d’application s’affiche.
public enum class AppNotificationSoundEvent
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.Builder.AppNotificationBuilderContract, 65536)]
enum class AppNotificationSoundEvent
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.Builder.AppNotificationBuilderContract), 65536)]
public enum AppNotificationSoundEvent
var value = Microsoft.Windows.AppNotifications.Builder.AppNotificationSoundEvent.default
Public Enum AppNotificationSoundEvent
- Héritage
-
AppNotificationSoundEvent
- Attributs
Champs
| Nom | Valeur | Description |
|---|---|---|
| Default | 0 | Default. |
| IM | 1 | Message instantané. |
| 2 | Courriel. |
|
| Reminder | 3 | Rappel. |
| SMS | 4 | SMS. |
| Alarm | 5 | Alarme 1. |
| Alarm2 | 6 | Alarme 2. |
| Alarm3 | 7 | Alarme 3. |
| Alarm4 | 8 | Alarme 4. |
| Alarm5 | 9 | Alarme 5. |
| Alarm6 | 10 | Alarme 6. |
| Alarm7 | 11 | Alarme 7. |
| Alarm8 | 12 | Alarme 8. |
| Alarm9 | 13 | Alarme 9. |
| Alarm10 | 14 | Alarme 10. |
| Call | 15 | Appel entrant 1. |
| Call2 | 16 | Appel entrant 2. |
| Call3 | 17 | Appel entrant 3. |
| Call4 | 18 | Appel entrant 4. |
| Call5 | 19 | Appel entrant 5. |
| Call6 | 20 | Appel entrant 6. |
| Call7 | 21 | Appel entrant 7. |
| Call8 | 22 | Appel entrant 8. |
| Call9 | 23 | Appel entrant 9. |
| Call10 | 24 | Appel entrant 10. |
Remarques
Pour définir l’événement audio d’une notification d’application, appelez AppNotificationBuilder.SetAudioEvent).