set_rating


Description:

[ Version ( since = "0.1.5" ) ]
public void set_rating (float rating, float max)

This method receives a rating and its scale and normalizes it on a scale from 0...5 to match the usual five-star rating.

Parameters:

this

a media

rating

a rating value

max

maximum rating value