Pergunta

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 ?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top