Alarm.Sound Property

May 11, 2014

Gets or sets the sound file that plays when the Alarm is launched.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public Uri Sound { get; set; }

Property Value

Type: System.Uri
The sound file that plays when the alarm is launched.

The Sound URI must point to a file packaged in the application’s .xap file. Isolated storage is not supported. When the alarm is launched, the sound is played quietly and then gradually increases in volume. There is no way to modify this behavior.

The supported file types for alarm sound files are MP3, WMA, and WAV.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2014 Microsoft