pywinrt/python-winsdk

doesn't apply to a 'NotificationKinds' object

ThreepE0 opened this issue · 1 comments

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.

dlech commented

Which version of winsdk are you using?