yev_get_type()#
yev_get_type() retrieves the event type associated with the given yev_event_h handle.
Prototype
yev_type_t yev_get_type(
yev_event_h yev_event
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
Handle to the event whose type is to be retrieved. |
Return Value
Returns the event type as a yev_type_t enumeration value.
Notes
The returned type can be one of the predefined yev_type_t values, such as YEV_TIMER_TYPE, YEV_READ_TYPE, etc.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples