C++ Pixels Library For Windows
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
Systemic::Pixels::Messages::BatteryLevel Struct Reference

Message send by a Pixel to notify of its battery level and state. More...

#include <Messages.h>

Inheritance diagram for Systemic::Pixels::Messages::BatteryLevel:

Public Member Functions

 BatteryLevel ()
 Initializes a new instance of BatteryLevel.
 
- Public Member Functions inherited from Systemic::Pixels::Messages::PixelMessage
 PixelMessage (MessageType msgType)
 Initializes a new instance of PixelMessage with the given type.
 

Public Attributes

uint8_t levelPercent {}
 The battery charge level in percent.
 
PixelBatteryState state {}
 The charging state of the battery.
 
- Public Attributes inherited from Systemic::Pixels::Messages::PixelMessage
const MessageType type
 Message type.
 

Detailed Description

Message send by a Pixel to notify of its battery level and state.


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