Packagecom.yahoo.webapis.upcoming.events
Classpublic class UpcomingResultEvent
InheritanceUpcomingResultEvent Inheritance flash.events.Event

Event class in response to data events from the Yahoo! Upcoming API.



Public Properties
 PropertyDefined by
  data : Object
Data
UpcomingResultEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
UpcomingResultEvent
Public Methods
 MethodDefined by
  
UpcomingResultEvent(type:String, inData:Object)
Constructs a new UpcomingResultEvent
UpcomingResultEvent
Public Constants
 ConstantDefined by
  CATEGORY_GET_LIST : String = "CategoryGetList"
[static] The type of event dispatched when a list of all event categories is retrieved.
UpcomingResultEvent
  COUNTRY_GET_INFO : String = "CountryGetInfo"
[static] The type of event dispatched when a country is updated with data from the server.
UpcomingResultEvent
  EVENT_ADDED : String = "EventAdded"
[static] The type of event dispatched when new event is added to the server.
UpcomingResultEvent
  EVENT_EDITED : String = "EventEdited"
[static] The type of event dispatched when an existing event is edited and changes are commited to the server.
UpcomingResultEvent
  EVENT_LOADED : String = "EventLoaded"
[static] The type of event dispatched when an event is updated with data from the server.
UpcomingResultEvent
  EVENT_SEARCH : String = "FindEvents"
[static] The type of event dispatched when an event search is complete and results are retrieved.
UpcomingResultEvent
  GET_COUNTRY_LIST : String = "MetroGetCountryList"
[static] The type of event dispatched when the list of countries is retrieved.
UpcomingResultEvent
  GET_STATE_LIST : String = "MetroGetStateList"
[static] The type of event dispatched when the list of states is retrieved.
UpcomingResultEvent
  GET_TOKEN : String = "GetToken"
[static] The type of event dispatched when a user authentication token is obtained.
UpcomingResultEvent
  GROUP_ADDED : String = "GroupAdded"
[static] The type of event dispatched when the group is added to the server.
UpcomingResultEvent
  GROUP_EDITED : String = "GroupEdited"
[static] The type of event dispatched when the existing group is edited and changes are commited to the server.
UpcomingResultEvent
  GROUP_LOADED : String = "GroupLoaded"
[static] The type of event dispatched when a group is updated with data from the server.
UpcomingResultEvent
  METRO_GET_INFO : String = "MetroGetInfo"
[static] The type of event dispatched when a metro is updated with data from the server.
UpcomingResultEvent
  METRO_GET_LAT_LON : String = "MetroGetLatLon"
[static] The type of event dispatched when a metro closest to a given lat/lon pair is found.
UpcomingResultEvent
  METRO_GET_LIST : String = "MetroGetList"
[static] The type of event dispatched when the list of metros is retrieved.
UpcomingResultEvent
  METRO_GET_MY_LIST : String = "MetroGetMyList"
[static] The type of event dispatched when the current user's list of metros is retrieved.
UpcomingResultEvent
  METRO_SEARCH : String = "MetroSearch"
[static] The type of event dispatched when a metro search is complete.
UpcomingResultEvent
  STATE_GET_INFO : String = "StateGetInfo"
[static] The type of event dispatched when a state is updated with data from the server.
UpcomingResultEvent
  USER_GET_WATCHLIST : String = "UserGetWatchlist"
[static] The type of event dispatched when a watchlist for a particular user is retrieved.
UpcomingResultEvent
  USERS_WATCHING_EVENT : String = "UsersWatchingEvent"
[static] The type of event dispatched when a list of users watching an event is retrieved.
UpcomingResultEvent
  USER_UPDATED : String = "UserUpdated"
[static] The type of event dispatched when a user is updated with data from the server.
UpcomingResultEvent
  VENUE_ADDED : String = "VenueAdded"
[static] The type of event dispatched when a new venue is added to the server.
UpcomingResultEvent
  VENUE_EDITED : String = "VenueEdited"
[static] The type of event dispatched when an existing venue is edited.
UpcomingResultEvent
  VENUE_GET_LIST : String = "VenueGetList"
[static] The type of event dispatched when a list of venues is retrieve.
UpcomingResultEvent
  VENUE_LOADED : String = "VenueGetInfo"
[static] The type of event dispatched when a venue is updated with data from the server.
UpcomingResultEvent
  VENUE_SEARCH : String = "VenueSearch"
[static] The type of event dispatched when a search for venues is complete and results are retrieved.
UpcomingResultEvent
  WATCHLIST_ADDED : String = "WatchlistAdded"
[static] The type of event dispatched when an event is added to user's watchlist.
UpcomingResultEvent
  WATCHLIST_GET_LIST : String = "WatchlistGetList"
[static] The type of event dispatched when a watchlist is retrieved.
UpcomingResultEvent
  WATCHLIST_REMOVED : String = "WatchlistRemoved"
[static] The type of event dispatched when an event is removed from the user's watchlist.
UpcomingResultEvent
Property detail
dataproperty
data:Object  [read-write]

Data

Implementation
    public function get data():Object
    public function set data(value:Object):void
successproperty 
public var success:Boolean

True if the event is the result of a successful call, False if the call failed

Constructor detail
UpcomingResultEvent()constructor
public function UpcomingResultEvent(type:String, inData:Object)

Constructs a new UpcomingResultEvent

Parameters
type:String — The type of the event defined by one of the constants in this class
 
inData:Object — the data object of the event.
Constant detail
CATEGORY_GET_LISTconstant
public static const CATEGORY_GET_LIST:String = "CategoryGetList"

The type of event dispatched when a list of all event categories is retrieved.

COUNTRY_GET_INFOconstant 
public static const COUNTRY_GET_INFO:String = "CountryGetInfo"

The type of event dispatched when a country is updated with data from the server.

EVENT_ADDEDconstant 
public static const EVENT_ADDED:String = "EventAdded"

The type of event dispatched when new event is added to the server.

EVENT_EDITEDconstant 
public static const EVENT_EDITED:String = "EventEdited"

The type of event dispatched when an existing event is edited and changes are commited to the server.

EVENT_LOADEDconstant 
public static const EVENT_LOADED:String = "EventLoaded"

The type of event dispatched when an event is updated with data from the server.

EVENT_SEARCHconstant 
public static const EVENT_SEARCH:String = "FindEvents"

The type of event dispatched when an event search is complete and results are retrieved.

GET_COUNTRY_LISTconstant 
public static const GET_COUNTRY_LIST:String = "MetroGetCountryList"

The type of event dispatched when the list of countries is retrieved.

GET_STATE_LISTconstant 
public static const GET_STATE_LIST:String = "MetroGetStateList"

The type of event dispatched when the list of states is retrieved.

GET_TOKENconstant 
public static const GET_TOKEN:String = "GetToken"

The type of event dispatched when a user authentication token is obtained.

GROUP_ADDEDconstant 
public static const GROUP_ADDED:String = "GroupAdded"

The type of event dispatched when the group is added to the server.

GROUP_EDITEDconstant 
public static const GROUP_EDITED:String = "GroupEdited"

The type of event dispatched when the existing group is edited and changes are commited to the server.

GROUP_LOADEDconstant 
public static const GROUP_LOADED:String = "GroupLoaded"

The type of event dispatched when a group is updated with data from the server.

METRO_GET_INFOconstant 
public static const METRO_GET_INFO:String = "MetroGetInfo"

The type of event dispatched when a metro is updated with data from the server.

METRO_GET_LAT_LONconstant 
public static const METRO_GET_LAT_LON:String = "MetroGetLatLon"

The type of event dispatched when a metro closest to a given lat/lon pair is found.

METRO_GET_LISTconstant 
public static const METRO_GET_LIST:String = "MetroGetList"

The type of event dispatched when the list of metros is retrieved.

METRO_GET_MY_LISTconstant 
public static const METRO_GET_MY_LIST:String = "MetroGetMyList"

The type of event dispatched when the current user's list of metros is retrieved.

METRO_SEARCHconstant 
public static const METRO_SEARCH:String = "MetroSearch"

The type of event dispatched when a metro search is complete.

STATE_GET_INFOconstant 
public static const STATE_GET_INFO:String = "StateGetInfo"

The type of event dispatched when a state is updated with data from the server.

USER_GET_WATCHLISTconstant 
public static const USER_GET_WATCHLIST:String = "UserGetWatchlist"

The type of event dispatched when a watchlist for a particular user is retrieved.

USERS_WATCHING_EVENTconstant 
public static const USERS_WATCHING_EVENT:String = "UsersWatchingEvent"

The type of event dispatched when a list of users watching an event is retrieved.

USER_UPDATEDconstant 
public static const USER_UPDATED:String = "UserUpdated"

The type of event dispatched when a user is updated with data from the server.

VENUE_ADDEDconstant 
public static const VENUE_ADDED:String = "VenueAdded"

The type of event dispatched when a new venue is added to the server.

VENUE_EDITEDconstant 
public static const VENUE_EDITED:String = "VenueEdited"

The type of event dispatched when an existing venue is edited.

VENUE_GET_LISTconstant 
public static const VENUE_GET_LIST:String = "VenueGetList"

The type of event dispatched when a list of venues is retrieve.

VENUE_LOADEDconstant 
public static const VENUE_LOADED:String = "VenueGetInfo"

The type of event dispatched when a venue is updated with data from the server.

VENUE_SEARCHconstant 
public static const VENUE_SEARCH:String = "VenueSearch"

The type of event dispatched when a search for venues is complete and results are retrieved.

WATCHLIST_ADDEDconstant 
public static const WATCHLIST_ADDED:String = "WatchlistAdded"

The type of event dispatched when an event is added to user's watchlist.

WATCHLIST_GET_LISTconstant 
public static const WATCHLIST_GET_LIST:String = "WatchlistGetList"

The type of event dispatched when a watchlist is retrieved.

WATCHLIST_REMOVEDconstant 
public static const WATCHLIST_REMOVED:String = "WatchlistRemoved"

The type of event dispatched when an event is removed from the user's watchlist.