Top | ![]() |
![]() |
![]() |
![]() |
#define | EMTR_EVENT_USER_IS_LOGGED_IN |
#define | EMTR_EVENT_NETWORK_STATUS_CHANGED |
#define | EMTR_EVENT_SHELL_APP_IS_OPEN |
#define | EMTR_EVENT_SOCIAL_BAR_IS_VISIBLE |
#define | EMTR_EVENT_SHELL_APP_ADDED |
#define | EMTR_EVENT_SHELL_APP_REMOVED |
Event types are RFC 4122 UUIDs. This file provides a mapping from 36-character string representations of UUIDs to human-readable constants. UUIDs should never be recycled since this will create confusion when analyzing the metrics database. The list is sorted alphabetically by name.
To generate a new UUID on Endless OS, Debian, or Ubuntu:
1 2 |
sudo apt-get install uuid-runtime uuidgen -r |
gboolean emtr_event_id_to_name (const gchar *event_id
,const gchar **event_name
);
emtr_event_id_to_name
has been deprecated since version 0.4 and should not be used in newly-written code.
Takes an event ID in hexadecimal format, converts it to a human-readable
format, and populates the event_name out parameter with the readable name.
If successful, will return TRUE
. If the given event ID is not a valid UUID
or simply not included in this function, this will return FALSE
and the
contents of the out parameter will be set to a message indicating the error.
#define EMTR_EVENT_USER_IS_LOGGED_IN "ab839fd2-a927-456c-8c18-f1136722666b"
EMTR_EVENT_USER_IS_LOGGED_IN
has been deprecated since version 0.2 and should not be used in newly-written code.
A newer version of this event type is defined in src/eos-metrics-instrumentation.c in the eos-metrics-instrumentation repo.
Started when a user logs in and stopped when that user logs out.
#define EMTR_EVENT_NETWORK_STATUS_CHANGED "5fae6179-e108-4962-83be-c909259c0584"
EMTR_EVENT_NETWORK_STATUS_CHANGED
has been deprecated since version 0.4 and should not be used in newly-written code.
This event type is now defined in src/eos-metrics-instrumentation.c in the eos-metrics-instrumentation repo.
Recorded when the network changes from one of the states described at https://developer.gnome.org/NetworkManager/unstable/spec.htmltype-NM_STATE to another. The auxiliary payload is a 2-tuple of the form (previous_network_state, new_network_state). Since events are delivered on a best-effort basis, there is no guarantee that the new network state of the previous successfully recorded network status change event matches the previous network state of the current network status change event.
#define EMTR_EVENT_SHELL_APP_IS_OPEN "b5e11a3d-13f8-4219-84fd-c9ba0bf3d1f0"
EMTR_EVENT_SHELL_APP_IS_OPEN
has been deprecated since version 0.4 and should not be used in newly-written code.
This event type is now defined in src/shell-app-system.c in the eos-desktop repo.
Occurs when an application visible to the shell is opened or closed. The payload varies depending on whether it is given as an opening event or a closed event. If it is an opening event, the payload is a human-readable application name. If it is a closing event, the payload is empty. The key used is a pointer to the corresponding ShellApp.
#define EMTR_EVENT_SOCIAL_BAR_IS_VISIBLE "9c33a734-7ed8-4348-9e39-3c27f4dc2e62"
EMTR_EVENT_SOCIAL_BAR_IS_VISIBLE
has been deprecated since version 0.4 and should not be used in newly-written code.
This event type is now defined in EosSocial/socialBar.js in the eos-social repo.
This is started when the social bar is visible and stopped when hidden.
#define EMTR_EVENT_SHELL_APP_ADDED "51640a4e-79aa-47ac-b7e2-d3106a06e129"
EMTR_EVENT_SHELL_APP_ADDED
has been deprecated since version 0.4 and should not be used in newly-written code.
This event type is now defined in js/ui/shellDBus.js in the eos-desktop repo.
Occurs when an application is installed, aka is added to the desktop's app grid.
#define EMTR_EVENT_SHELL_APP_REMOVED "683b40a7-cac0-4f9a-994c-4b274693a0a0"
EMTR_EVENT_SHELL_APP_REMOVED
has been deprecated since version 0.4 and should not be used in newly-written code.
This event type is now defined in js/ui/iconGridLayout.js in the eos-desktop repo.
Occurs when an application is uninstalled, aka is removed from the desktop's app grid. This can happen via uninstalling in the app store or dragging / dropping an app to the trash.