Flipper Zero Firmware
Loading...
Searching...
No Matches
RpcAppSystemEventData Struct Reference

Event data structure, containing the type and associated data. More...

#include <rpc_app.h>

Data Fields

RpcAppSystemEventDataType type
 Type of the data.
 
union { 
 
   const char *   string 
 Pointer to a zero-terminated character string.
 
   int32_t   i32 
 Signed 32-bit integer value.
 
   struct { 
 
      const uint8_t *   ptr 
 Pointer to the byte array data.
 
      size_t   size 
 Size of the byte array, in bytes.
 
   }   bytes 
 Byte array of arbitrary length.
 
};  
 

Detailed Description

Event data structure, containing the type and associated data.

All below fields except for type are valid only if the respective type is set.

Field Documentation

◆ type

RpcAppSystemEventDataType RpcAppSystemEventData::type

Type of the data.

The meaning of other fields depends on this one.


The documentation for this struct was generated from the following file: