Kodi Development  20.0
for Binary and Script based Add-Ons

Header parts:

void GetCapabilities(kodi::addon::PeripheralCapabilities& capabilities) override;
PERIPHERAL_ERROR PerformDeviceScan(std::vector<std::shared_ptr<kodi::addon::Peripheral>>& scan_results) override;
PERIPHERAL_ERROR GetEvents(std::vector<kodi::addon::PeripheralEvent>& events) override;
bool SendEvent(const kodi::addon::PeripheralEvent& event) override;
Definition: PeripheralUtils.h:133
Definition: PeripheralUtils.h:369
PERIPHERAL_ERROR
Definition: peripheral.h:36