AutoNotification query notification importance level

Discussion in 'AutoApps' started by gaberad, Apr 6, 2019.

  1. gaberad

    gaberad New Member

    Joined:
    May 29, 2017
    Messages:
    1
    Likes Received:
    0
    Hi,

    Is it possible to query the importance level of a notification? I couldn't find it in the data sets for the notification.

    If not, would it be possible to add that to say, the anextras data?

    Ultimately what I'm trying to do is get a count of the notifications visible on the lockscreen, which I'll be able to do by counting non-persistent + non-low-importance persistent notifications (if you get what I mean).
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    IIRC you can get the notification's group and with that you can query the importance with the AutoNotification Category action :)
     

Share This Page