AppNotificationSoundEvent Enum
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.
Specifies system sound events that can be played when an app notification is shown.
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
- Inheritance
-
AppNotificationSoundEvent
- Attributes
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Default. |
IM | 1 | Instant message. |
2 | Mail. |
|
Reminder | 3 | Reminder. |
SMS | 4 | SMS. |
Alarm | 5 | Alarm 1. |
Alarm2 | 6 | Alarm 2. |
Alarm3 | 7 | Alarm 3. |
Alarm4 | 8 | Alarm 4. |
Alarm5 | 9 | Alarm 5. |
Alarm6 | 10 | Alarm 6. |
Alarm7 | 11 | Alarm 7. |
Alarm8 | 12 | Alarm 8. |
Alarm9 | 13 | Alarm 9. |
Alarm10 | 14 | Alarm 10. |
Call | 15 | Incoming call 1. |
Call2 | 16 | Incoming call 2. |
Call3 | 17 | Incoming call 3. |
Call4 | 18 | Incoming call 4. |
Call5 | 19 | Incoming call 5. |
Call6 | 20 | Incoming call 6. |
Call7 | 21 | Incoming call 7. |
Call8 | 22 | Incoming call 8. |
Call9 | 23 | Incoming call 9. |
Call10 | 24 | Incoming call 10. |
Remarks
To set the audio event for an app notification, call AppNotificationBuilder.SetAudioEvent).