StationButton Class Reference

Inherits from UIButton
Declared in StationButton.h

  stationName

This should be the exact name of a station that this button represents. The button will look through the list of available stations and set the station property to the first that matches this station name.

@property (nonatomic, strong) IBInspectable NSString *stationName

Declared In

StationButton.h

  station

This represents the station that this button represents.

@property (nonatomic, strong) Station *station

Declared In

StationButton.h

  playOnClick

When true, the button will call [AdaptrAudioPlayer play] after changing the station after a tap. If the station was already active and playing music, this will pause music playback.

@property (nonatomic) IBInspectable BOOL playOnClick

Declared In

StationButton.h

  hideWhenActive

When true, this button will hide itself when it matches the active station and the player is not in the idle state.

@property (nonatomic) IBInspectable BOOL hideWhenActive

Declared In

StationButton.h

  crossfade

When true, and if the player is already playing some other station, the transition to playback of this station will be crossfaded. *

@property (nonatomic) IBInspectable BOOL crossfade

Declared In

StationButton.h