setAllowNotifications

Turns notifications on or off for the user.

Parameters

allow

true to receive notifications, false to opt out.