Good news, developers,
I've gotten this working. As of right now the API SWF will expose information about the subscription state of the user. For privacy reasons user identifiable info (username, key, real name, etc) isn't available. The ready() callback now gets a single argument which is null if the user isn't signed into Rdio, or if it is an Rdio user, an object containing the following keys:
- isTrial - boolean, is the user in a trial
- isSubscriber - boolean, is the user a subscriber
- isUnlimited - boolean, does the user have rights to stream on mobile devices
- inFreeLimited - boolean, is the user an Rdio free user
- freeLimitedRemaining - integer, the percentage of free plays remaining for a user - ignore if inFreeLimited is false
There's also another callback called freeLimitedRemainingChanged that gets a single argument that is the new value for freeLimitedRemaining.
The documentation isn't updated because these values don't take into account any user associated with the playbackToken. I'm planning to change the way that the playbackToken is used by the web playback API. I've noticed that the process of getting a playbackToken is confusing and if often the slowest part of getting your web app actually playing music. Expect changes to that effect to come in the next month or so.
In the meantime, have a play with this new interface for getting information about a user. Hopefully it'll make it much easier to predict if a user will be getting previews rather than full tracks and to present up-sell.
Ian