主权项 |
1. A server comprising:
a network communication device; memory hardware; and data processing hardware in communication with the network communication device and the memory hardware, the data processing hardware configured to execute computer-readable instructions that, in response to being executed by the data processing hardware, cause the data processing hardware to:
receive sensor data and application data from a client computing device via the network communication device, the sensor data comprising sensor measurement values from a plurality of sensors of the client computing device, the application data indicating application states of a plurality of applications installed on the client computing device;receive a request to provide event notifications to a first application from the plurality of applications installed on the client computing device, the request comprising an event description that describes the event;identify an event trigger that indicates an occurrence of the event described by the event description, the event trigger comprising:
an application state trigger that indicates an application state of a second application from the plurality of applications; and/ora sensor measurement trigger that indicates a sensor measurement value for a sensor from the plurality of sensors in the client computing device;detect the occurrence of the event by comparing the application state trigger with application states in the application data, and by comparing the sensor measurement trigger with sensor measurement values in the sensor data; andtransmit an event notification to the first application via the network communication device in response to detecting the occurrence of the event, the event notification indicating that the event has occurred. |