Class NotificationSoundService
public class NotificationSoundService
- Inheritance
-
NotificationSoundService
- Inherited Members
Constructors
NotificationSoundService(NotificationConfig)
public NotificationSoundService(NotificationConfig config)
Parameters
configNotificationConfig
Methods
PlayAsync()
public Task PlayAsync()
Returns
- Task
PlayTestAsync()
Plays the notification sound regardless of the Enabled setting (for /test-sound).
public Task PlayTestAsync()
Returns
- Task
SetEnabled(bool)
public void SetEnabled(bool enabled)
Parameters
enabledbool
SetVolume(byte)
public void SetVolume(byte volume)
Parameters
volumebyte