Namespace CecSharp
Classes
- CecAdapter
Descriptor of a CEC adapter, returned when scanning for adapters that are connected to the system
- CecAdapterStats
Statistics about traffic on the CEC line
- CecCallbackMethods
The callback methods that libCEC uses. Derive from this class and override the Receive*/Source/Configuration methods to handle events from libCEC.
This is the pure-C# replacement for the C++/CLI CecCallbackMethods. It keeps managed delegates alive for the lifetime of the object (they must not be collected while native code holds their function pointers) and builds an ICECCallbacks table in unmanaged memory that is handed to libCEC.
- CecCommand
A CEC command that is received or transmitted over the CEC bus
- CecDatapacket
Byte array used for CEC command parameters
- CecDeviceTypeList
A list of CEC device types
- CecKeypress
A key press that was received
- CecLogMessage
A log message that libCEC generated
- CecLogicalAddresses
A list of logical addresses
- CecParameter
A parameter for the CecAlert callback
- LibCECConfiguration
The configuration that libCEC uses.
- LibCecSharp
Create a LibCecSharp instance and pass the configuration as argument. Then call Open() to open a connection to the adapter. Close() closes the connection.
libCEC can send commands to other devices on the CEC bus via the methods on this class, and all commands that libCEC receives are sent back to the application via the callback methods on CecCallbackMethods.
This is the pure-C# implementation that binds the native C API (include/cecc.h) over P/Invoke, so it runs on every platform the native library loads on. It replaces the Windows-only C++/CLI wrapper.
Enums
- BoolSetting
A setting that can be enabled, disabled or not changed
- CecAdapterType
Type of adapter to which libCEC is connected
- CecAlert
The type of alert when libCEC calls the CecAlert callback
- CecAudioStatus
Audio status of audio system / AVR devices
- CecDeckControlMode
Deck control mode for playback and recording devices
- CecDeckInfo
Deck status for playback and recording devices
- CecDeviceType
The device type. For client applications, libCEC only supports RecordingDevice, PlaybackDevice or Tuner. libCEC uses RecordingDevice by default.
- CecDisplayControl
Parameter for OSD string display, that controls how to display the string
- CecLogLevel
Log level that can be used by the logging callback method to filter messages from libCEC.
- CecLogicalAddress
A logical address on the CEC bus
- CecMenuState
The menu state of a CEC device
- CecOpcode
CEC opcodes, as described in the HDMI CEC specification
- CecParameterType
The type of parameter that is sent with the CecAlert callback
- CecPowerStatus
The power status of a CEC device
- CecSystemAudioStatus
Audiosystem status
- CecUserControlCode
User control code, the key code when the user presses or releases a button on the remote. Used by SendKeypress() and the CecKey callback.
- CecVendorId
Vendor IDs for CEC devices
- CecVersion
The CEC version of a CEC device