blob: 5a6182e86afbd96ce45e226bf2ade3f7c7a3bfb5 [file] [log] [blame]
package com.matter.virtual.device.app;
public interface OnOffManager {
/** initialize OnOff value by DeviceApp */
void initAttributeValue();
/**
* Notify that the OnOff value be changed by matter and should effect it. Note, set by DeviceApp
* will also trigger this function, so must check if value is same
*
* @param value
*/
void handleOnOffChanged(boolean value);
}