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

Function SetMenuState

src/dotnetlib/LibCecSharp.cpp:291–294  ·  view source on GitHub ↗

Change the menu state. This value is already changed by libCEC automatically if a device is (de)activated. The new state. True to send the new status over the CEC line. True if set, false otherwise.

Source from the content-addressed store, hash-verified

289 /// <param name="sendUpdate">True to send the new status over the CEC line.</param>
290 /// <returns>True if set, false otherwise.</returns>
291 bool SetMenuState(CecMenuState state, bool sendUpdate)
292 {
293 return !!m_libCec && m_libCec->SetMenuState((cec_menu_state) state, sendUpdate);
294 }
295
296 /// <summary>
297 /// Display a message on the device with the given logical address. Not supported by most TVs.

Callers 2

SetDeviceStatusMethod · 0.85
ResetDeviceStatusMethod · 0.85

Calls 1

SetMenuStateMethod · 0.45

Tested by

no test coverage detected