PreferenceInitNotificationSetting
Callable
Parameters
setting: boolean
The old version of the setting
audio: NotificationAudioType
The audio setting
optionaldefaultAlertType: NotificationAlertType
The default AlertType to use
Returns NotificationSetting
- The setting to use
This API is deprecated and may be removed in a future version.
Initialise the Notifications settings, converting the old boolean types to objects