Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WP7 how to rate a Song

I see that the Song class only contains IsRated and Rating property with Set method. However, I see that the default music player application in WP7 has the ability to rate a song

So, how can I rate a Song ?

like image 269
onmyway133 Avatar asked Nov 12 '22 17:11

onmyway133


1 Answers

Both Rating and IsRated are only get methods. This means you can get the value of the rating but you can't set it.

That can only be done by the default media player

For Rating http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.song.rating.aspx

For IsRated http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.song.israted.aspx

As you can see both only have get methods

like image 100
cjds Avatar answered Nov 15 '22 13:11

cjds