Using python 3.9, when I try to use
listener.get_notifications_async(NotificationKinds.TOAST)
I get
descriptor 'get_notifications_async' for 'UserNotificationListener' objects doesn't apply to a 'NotificationKinds' object
I've tried a few things including defining listener.kinds and using an integer or hex as an argument to the get_notifications_async function, but I can't seem to figure out what get_notifications_async wants as an argument.
Using python 3.9, when I try to use
listener.get_notifications_async(NotificationKinds.TOAST)
I getdescriptor 'get_notifications_async' for 'UserNotificationListener' objects doesn't apply to a 'NotificationKinds' object
I've tried a few things including defining listener.kinds and using an integer or hex as an argument to the get_notifications_async function, but I can't seem to figure out what get_notifications_async wants as an argument.