Packagecom.distriqt.extension.beacon.events
Classpublic class BeaconEvent
InheritanceBeaconEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  beacons : Array
The array of detected BeaconObject's
BeaconEvent
  region : Region
BeaconEvent
Public Methods
 MethodDefined By
  
BeaconEvent(type:String, region:Region, beacons:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
BeaconEvent
  
clone():Event
[override]
BeaconEvent
Public Constants
 ConstantDefined By
  BEACON_UPDATE : String = beacon:update
[static] Dispatched when an update occurs about the available beacons.
BeaconEvent
  BLUETOOTH_STATE_DISABLED : String = bluetooth:state:disabled
[static] Dispatched when the bluetooth adapter changes state to disabled.
BeaconEvent
  BLUETOOTH_STATE_ENABLED : String = bluetooth:state:enabled
[static] Dispatched when the bluetooth adapter changes state to enabled.
BeaconEvent
  REGION_ENTER : String = region:enter
[static] Dispatched when the device enters a monitored region.
BeaconEvent
  REGION_EXIT : String = region:exit
[static] Dispatched when it appears the device has exitted the region.
BeaconEvent
  REGION_MONITORING_START : String = region:monitoring:start
[static] Dispatched when a region is started monitoring for entry and exit.
BeaconEvent
Property Detail
beaconsproperty
public var beacons:Array

The array of detected BeaconObject's

See also

regionproperty 
public var region:Region

See also

Constructor Detail
BeaconEvent()Constructor
public function BeaconEvent(type:String, region:Region, beacons:Array = null, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
region:Region
 
beacons:Array (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
BEACON_UPDATEConstant
public static const BEACON_UPDATE:String = beacon:update

Dispatched when an update occurs about the available beacons. The beacons will contain the list of available beacons.

BLUETOOTH_STATE_DISABLEDConstant 
public static const BLUETOOTH_STATE_DISABLED:String = bluetooth:state:disabled

Dispatched when the bluetooth adapter changes state to disabled.

BLUETOOTH_STATE_ENABLEDConstant 
public static const BLUETOOTH_STATE_ENABLED:String = bluetooth:state:enabled

Dispatched when the bluetooth adapter changes state to enabled.

REGION_ENTERConstant 
public static const REGION_ENTER:String = region:enter

Dispatched when the device enters a monitored region. The event will contain a valid region describing the region that has been entered/discovered.

Once this event is dispatched you can expect to get updates about the beacons in the region in periodic intervals

REGION_EXITConstant 
public static const REGION_EXIT:String = region:exit

Dispatched when it appears the device has exitted the region. You should stop receiving beacon update events.

REGION_MONITORING_STARTConstant 
public static const REGION_MONITORING_START:String = region:monitoring:start

Dispatched when a region is started monitoring for entry and exit. This usually occurs almost immediately after a call startMonitoringRegionWithUUID