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

Function IsActiveSource

src/dotnetlib/LibCecSharp.cpp:537–540  ·  view source on GitHub ↗

Check whether a device is currently the active source on the CEC bus. The logical address of the device to check. True when it is the active source, false otherwise.

Source from the content-addressed store, hash-verified

535 /// <param name="logicalAddress">The logical address of the device to check.</param>
536 /// <returns>True when it is the active source, false otherwise.</returns>
537 bool IsActiveSource(CecLogicalAddress logicalAddress)
538 {
539 return !!m_libCec && m_libCec->IsActiveSource((cec_logical_address)logicalAddress);
540 }
541
542 /// <summary>
543 /// Get the physical address of the device with the given logical address.

Callers 1

ReplaceHandlerMethod · 0.50

Calls 1

IsActiveSourceMethod · 0.45

Tested by

no test coverage detected