Method TryParse
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
TryParse(string?, out ColorFlow?)
Reads a flow as a light reports it in FlowParameters: the count, the action, and the four numbers of every step.
public static bool TryParse(string? text, out ColorFlow? flow)
Parameters
textstringThe text, for example
0,0,1000,2,2700,100,500,1,255,10.flowColorFlowThe flow, when the text is one.
Returns
- bool
falsefor a text that is not a flow.