Kodi Development
20.0
for Binary and Script based Add-Ons
Group source include
C++
»
Interface - kodi::addon
»
Addon type instances
»
Peripheral
»
1. Peripheral operations
Source parts:
void
CMyInstance::GetCapabilities(
kodi::addon::PeripheralCapabilities
& capabilities)
{
}
PERIPHERAL_ERROR
CMyInstance::PerformDeviceScan(std::vector<std::shared_ptr<kodi::addon::Peripheral>>& scan_results)
{
return
PERIPHERAL_ERROR_NOT_IMPLEMENTED
;
}
PERIPHERAL_ERROR
CMyInstance::GetEvents(std::vector<kodi::addon::PeripheralEvent>& events)
{
return
PERIPHERAL_ERROR_NOT_IMPLEMENTED
;
}
bool
CMyInstance::SendEvent(
const
kodi::addon::PeripheralEvent
& event)
{
return
false
;
}
kodi::addon::PeripheralCapabilities
Definition:
PeripheralUtils.h:133
kodi::addon::PeripheralEvent
Definition:
PeripheralUtils.h:369
PERIPHERAL_ERROR
PERIPHERAL_ERROR
Definition:
peripheral.h:36
PERIPHERAL_ERROR_NOT_IMPLEMENTED
@ PERIPHERAL_ERROR_NOT_IMPLEMENTED
-4 : The method that the frontend called is not implemented
Definition:
peripheral.h:50
Generated by
1.9.1