DevicesApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
answerDeviceRequest({required String id, required DeviceRequestResult deviceRequestResult, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<DeleteIntegration200Response>>
-
answerDeviceRequest
-
deleteDevicePlace({required String id, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<DeleteIntegration200Response>>
-
deleteDevicePlace
-
deleteDeviceSource({required String key, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<DeleteIntegration200Response>>
-
Forget this device and everything it shared
-
listDeviceGrants({String? botId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDeviceGrants200Response>>
-
Which bots may read which kinds of your device data
-
listDevicePlaces({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDevicePlaces200Response>>
-
Your named places
-
listDeviceReadings({DeviceKind? kind, int? limit, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDeviceReadings200Response>>
-
What your devices have shared
-
listDeviceRequests({required String key, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDeviceRequests200Response>>
-
Work waiting for this device
-
listDeviceSources({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDeviceSources200Response>>
-
Your devices that share data
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reportDeviceEvents({required String key, required ReportDeviceEventsRequest reportDeviceEventsRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ReportDeviceEvents200Response>>
-
Report events that start device-triggered routines
-
saveDevicePlace({required SaveDevicePlaceRequest saveDevicePlaceRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<DevicePlace>>
-
Add or update a named place (up to 20)
-
saveDeviceSource({required String key, required SaveDeviceSourceRequest saveDeviceSourceRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<DeviceSource>>
-
Register this device and the kinds it shares; kinds turned off lose their data
-
setDeviceGrant({required SetDeviceGrantRequest setDeviceGrantRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ListDeviceGrants200Response>>
-
Allow or stop a bot reading one kind of your device data
-
toString()
→ String
-
A string representation of this object.
inherited
-
uploadDeviceReadings({required String key, required UploadDeviceReadingsRequest uploadDeviceReadingsRequest, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<UploadDeviceReadings200Response>>
-
Upload summaries (re-uploading the same external_id replaces it)