Jump to content


Photo

Need to find event when a user 'likes' an item from the libarary


  • Please log in to reply
1 reply to this topic

#1 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4723 posts
  • Local time: 03:02 AM
  • LocationPeterborough, Canada

Posted 30 March 2020 - 01:29 PM

I'm trying to find an event which fires when a user has selected the 'heart' icon on a media item.

 

But, I'm not sure if I should use the UserDataManager or not.

 

Is there was way to figure out which item was liked?

 

I think it might be 

        private void UserManager_UserDataSaved(object sender, UserDataSaveEventArgs e)
        {
            if (e.SaveReason == UserDataSaveReason.UpdateUserRating)
            {

            }
        }

But how would you know which item was changed?

 

Thank you in a advance.


Edited by chef, 30 March 2020 - 01:29 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:02 AM

Posted 30 March 2020 - 01:43 PM

The item should be in the event args.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users