Wialon Sdk |link| Online

A community forum for the free online game Silkroad Online. Discuss Silkroad Online, read up on guides, and build your character and skills.

Faq Search Members Chat  Messages Profile Logout

Wialon Sdk |link| Online

// 3. Trigger push notification via webhook const triggerNotification = (unitId, entered) => const message = entered ? Unit $unitId entered restricted zone : Unit $unitId exited safe zone ;

);

// 2. Subscribe to real-time unit position updates wialon.units.bind( position: true, sensors: ['speed', 'ignition'] , (unitId, data) => const inside = checkGeofence(unitId, data.position); if (insideChanged(unitId, inside)) triggerNotification(unitId, inside); wialon sdk

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group