Method Supports
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
Supports(string)
Gets whether the device lists a method among those that it supports.
public bool Supports(string method)
Parameters
methodstringThe method, as the protocol names it (
set_power).
Returns
- bool
truewhen the device lists it;falsewhen it does not, and when it has not said what it supports.