MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / PollDevice

Function PollDevice

src/dotnetlib/LibCecSharp.cpp:239–242  ·  view source on GitHub ↗

Sends a POLL message to a device, to check if it's present and responding. The device to send the message to. True if the POLL was acked, false otherwise.

Source from the content-addressed store, hash-verified

237 /// <param name="logicalAddress">The device to send the message to.</param>
238 /// <returns>True if the POLL was acked, false otherwise.</returns>
239 bool PollDevice(CecLogicalAddress logicalAddress)
240 {
241 return !!m_libCec && m_libCec->PollDevice((cec_logical_address) logicalAddress);
242 }
243
244 /// <summary>
245 /// Change the active source to a device type handled by libCEC. Use CEC_DEVICE_TYPE_RESERVED to make the default type used by libCEC active.

Callers

nothing calls this directly

Calls 1

PollDeviceMethod · 0.45

Tested by

no test coverage detected