Skip to main content

Interface: NotificationPreferenceServiceContract

Defined in: src/services/NotificationPreferenceService.ts:42

Contract describing notification preference operations from the renderer.

Propertiesโ€‹

initialize()โ€‹

initialize: () => Promise<void>

Defined in: src/services/NotificationPreferenceService.ts:44

Ensure preload bridge initialization.

Returnsโ€‹

Promise<void>


updatePreferences()โ€‹

updatePreferences: (preferences: NotificationPreferenceUpdate) => Promise<void>

Defined in: src/services/NotificationPreferenceService.ts:50

Updates the main-process notification configuration.

Parametersโ€‹

preferencesโ€‹

NotificationPreferenceUpdate

Notification preference payload.

Returnsโ€‹

Promise<void>