Get the power status of the device with the given logical address. The logical address of the device to get the power status for. The power status or CEC_POWER_STATUS_UNKNOWN if it wasn't found.
| 370 | /// <param name="logicalAddress">The logical address of the device to get the power status for.</param> |
| 371 | /// <returns>The power status or CEC_POWER_STATUS_UNKNOWN if it wasn't found.</returns> |
| 372 | CecPowerStatus GetDevicePowerStatus(CecLogicalAddress logicalAddress) |
| 373 | { |
| 374 | if (!m_libCec) { |
| 375 | return CecPowerStatus::Unknown; |
| 376 | } |
| 377 | return (CecPowerStatus) m_libCec->GetDevicePowerStatus((cec_logical_address) logicalAddress); |
| 378 | } |
| 379 | |
| 380 | /// <summary> |
| 381 | /// Tell libCEC to poll for active devices on the bus. |
nothing calls this directly
no test coverage detected