clearEventCallback method

Future<int> clearEventCallback()

取消设备事件回调

Implementation

Future<int> clearEventCallback() async {
  _handler.setCallback(null);
  IntValue reply = await _api.clearDeviceEventCallback();
  return reply.value ?? -1;
}