invokeThingService.d.ts 775 B

1234567891011121314151617181920212223242526
  1. /**
  2. * 调用iot物模型服务 请求参数定义
  3. * @apiName biz.iot.invokeThingService
  4. */
  5. export interface IBizIotInvokeThingServiceParams {
  6. /** 设备的id */
  7. deviceId: string;
  8. /** 设备所在的server id */
  9. devServerId: number;
  10. /** 要设置属性集合的json string */
  11. params: string;
  12. }
  13. /**
  14. * 调用iot物模型服务 返回结果定义
  15. * @apiName biz.iot.invokeThingService
  16. */
  17. export interface IBizIotInvokeThingServiceResult {
  18. property: string;
  19. }
  20. /**
  21. * 调用iot物模型服务
  22. * @apiName biz.iot.invokeThingService
  23. * @supportVersion ios: 4.6.42 android: 4.6.42
  24. */
  25. export declare function invokeThingService$(params: IBizIotInvokeThingServiceParams): Promise<IBizIotInvokeThingServiceResult>;
  26. export default invokeThingService$;