Angular directive
pxlSensorUntriggered source
- Attribute
Expression that is evaluated when a sensor state become untriggered (i.e. not anymore active).
The ID of the sensor and the type of sensor are passed as parameters. The types and IDs are defined hereafter.
Three types of sensors are defined:
Vision
Corresponds to an image that has been recognized. As of today, the sensor ID corresponds to the context ID to which the sensor is linked but this might change in the future as the PixLive SDK does support any kind of IDs.iBeacon
Corresponds to an iBeacon that is in the required proximity of the smartphone. The ID is defined to be:BeaconUUID_Major_Minor
VidiBeacon
Corresponds to a VidiBeacon that is in the required proximity of the smartphone. The ID is defined to be the VidiBeacon serial.
Parameters
Name | Type | Description |
---|---|---|
PxlEventService | service |
PixLive SDK Event service |
Example
<div pxl-sensor-triggered="sensorUntriggered(sensorId, sensorType)">
...
</div>