Table of Contents

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

method string

The method, as the protocol names it (set_power).

Returns

bool

true when the device lists it; false when it does not, and when it has not said what it supports.