Display a message on the device with the given logical address. Not supported by most TVs. The logical address of the device to display the message on. The duration of the message The message to display. True when the command was sent, false otherwise.
| 301 | /// <param name="message">The message to display.</param> |
| 302 | /// <returns>True when the command was sent, false otherwise.</returns> |
| 303 | bool SetOSDString(CecLogicalAddress logicalAddress, CecDisplayControl duration, String ^ message) |
| 304 | { |
| 305 | if (!m_libCec) { |
| 306 | return false; |
| 307 | } |
| 308 | marshal_context ^ context = gcnew marshal_context(); |
| 309 | const char* strMessageC = context->marshal_as<const char*>(message); |
| 310 | |
| 311 | bool bReturn = m_libCec->SetOSDString((cec_logical_address) logicalAddress, (cec_display_control) duration, strMessageC); |
| 312 | |
| 313 | delete context; |
| 314 | return bReturn; |
| 315 | } |
| 316 | |
| 317 | /// <summary> |
| 318 | /// Enable or disable monitoring mode, for debugging purposes. If monitoring mode is enabled, libCEC won't respond to any command, but only log incoming data. |
nothing calls this directly
no test coverage detected