Packagecom.addicted2flash.data.service
Interfacepublic interface IDataServiceObserver
ImplementorsLoaderQueue, LoaderQueueServiceGroup

Interface for all objects that are interested in data service events.



Public Properties
 PropertyDefined by
  acceptedDataServiceEvents : int
[read-only] Returns a bit pattern of DataServiceEventTypes the ILoaderServiceObserver is interested in.
IDataServiceObserver
Public Methods
 MethodDefined by
  
processDataServiceEvent(type:int, service:IDataService):void
This method is called whenever the IDataServices notifyObservers() method was invoked.
IDataServiceObserver
Property detail
acceptedDataServiceEventsproperty
acceptedDataServiceEvents:int  [read-only]

Returns a bit pattern of DataServiceEventTypes the ILoaderServiceObserver is interested in.

Implementation
    public function get acceptedDataServiceEvents():int

See also

LoaderServiceEventType

Example
event types can be added by a bit-or
   public function get acceptedDataServiceEvents(): int
   {
     return DataServiceEventType.COMPLETE | DataServiceEventType.PROGRESS;
   }
   

Method detail
processDataServiceEvent()method
public function processDataServiceEvent(type:int, service:IDataService):void

This method is called whenever the IDataServices notifyObservers() method was invoked.

Parameters
type:int — type of event
 
service:IDataServiceIDataService

See also

DataServiceEventType