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

Function GetDeviceCecVersion

src/dotnetlib/LibCecSharp.cpp:332–338  ·  view source on GitHub ↗

Get the CEC version of the device with the given logical address The logical address of the device to get the CEC version for. The version or CEC_VERSION_UNKNOWN when the version couldn't be fetched.

Source from the content-addressed store, hash-verified

330 /// <param name="logicalAddress">The logical address of the device to get the CEC version for.</param>
331 /// <returns>The version or CEC_VERSION_UNKNOWN when the version couldn't be fetched.</returns>
332 CecVersion GetDeviceCecVersion(CecLogicalAddress logicalAddress)
333 {
334 if (!m_libCec) {
335 return CecVersion::Unknown;
336 }
337 return (CecVersion) m_libCec->GetDeviceCecVersion((cec_logical_address) logicalAddress);
338 }
339
340 /// <summary>
341 /// Get the menu language of the device with the given logical address

Callers

nothing calls this directly

Calls 1

GetDeviceCecVersionMethod · 0.45

Tested by

no test coverage detected