Lastfm Object Reference

Parentwindow (Global Window Object)
ScopeGlobal
Available sinceBowtie 1.0
Bowtie Touch 2.0

Overview

The Lastfm object is used for interaction with Last.fm. Currently, it allows you to Love and Ban tracks if the user has configured and enabled Last.fm support. No feedback is provided to the theme; rather, there is a global bezel that will be displayed to indicate the success or failure of a Love or Ban action.

Methods and Properties

(…) Object Methods ban(), isConfigured(), isEnabled(), love()

Object Methods

ban()

Bans the current track on Last.fm.

Lastfm.ban()

Discussion

This method does not return any feedback. Rather, a global bezel will be displayed to indicate the success or failure of the Ban action.

Availability

Available in Bowtie 1.0 and later.
Available in Bowtie Touch 2.0 and later.

See Also

isConfigured()

Returns a value indicating whether or not Last.fm has been configured for use.

Lastfm.isConfigured()

Availability

Available in Bowtie 1.0 and later.
Available in Bowtie Touch 2.0 and later.

See Also

isEnabled()

Returns a value indicating whether or not Last.fm is currently enabled.

Lastfm.isEnabled()

Discussion

The user can enable and disable Last.fm at any time, so this value may not remain constant.

Availability

Available in Bowtie 1.0 and later.
Available in Bowtie Touch 2.0 and later.

See Also

love()

Loves the current track on Last.fm.

Lastfm.love()

Discussion

This method does not return any feedback. Rather, a global bezel will be displayed to indicate the success or failure of the Love action.

Availability

Available in Bowtie 1.0 and later.
Available in Bowtie Touch 2.0 and later.

See Also