[player] define API