ThingSmartMessageSetting provides methods to manage the Do Not Disturb (DND) mode for devices.
More...
#import <ThingSmartMessageSetting.h>
ThingSmartMessageSetting provides methods to manage the Do Not Disturb (DND) mode for devices.
Definition at line 19 of file ThingSmartMessageSetting.h.
◆ addDNDWithDNDRequestModel:success:failure: [1/4]
Adds DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addDNDWithDNDRequestModel:success:failure: [2/4]
Adds DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addDNDWithDNDRequestModel:success:failure: [3/4]
Adds DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addDNDWithDNDRequestModel:success:failure: [4/4]
Adds DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addOnceDNDWithRequestModel:success:failure: [1/4]
Adds one-time DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addOnceDNDWithRequestModel:success:failure: [2/4]
Adds one-time DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addOnceDNDWithRequestModel:success:failure: [3/4]
Adds one-time DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ addOnceDNDWithRequestModel:success:failure: [4/4]
Adds one-time DND time for devices.
- Parameters
-
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getAllDNDListWithSuccess:failure: [1/4]
Returns a list of DND settings.Includes weekly periodic do-not-disturb and one-time do-not-disturb.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getAllDNDListWithSuccess:failure: [2/4]
Returns a list of DND settings.Includes weekly periodic do-not-disturb and one-time do-not-disturb.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getAllDNDListWithSuccess:failure: [3/4]
Returns a list of DND settings.Includes weekly periodic do-not-disturb and one-time do-not-disturb.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getAllDNDListWithSuccess:failure: [4/4]
Returns a list of DND settings.Includes weekly periodic do-not-disturb and one-time do-not-disturb.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDeviceDNDSettingstatusSuccess:failure: [1/4]
Returns the DND status for devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDeviceDNDSettingstatusSuccess:failure: [2/4]
Returns the DND status for devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDeviceDNDSettingstatusSuccess:failure: [3/4]
Returns the DND status for devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDeviceDNDSettingstatusSuccess:failure: [4/4]
Returns the DND status for devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDDeviceListSuccess:failure: [1/4]
Returns a list of devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDDeviceListSuccess:failure: [2/4]
Returns a list of devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDDeviceListSuccess:failure: [3/4]
Returns a list of devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDDeviceListSuccess:failure: [4/4]
Returns a list of devices.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDListSuccess:failure: [1/4]
Returns a list of DND settings.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDListSuccess:failure: [2/4]
Returns a list of DND settings.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDListSuccess:failure: [3/4]
Returns a list of DND settings.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getDNDListSuccess:failure: [4/4]
Returns a list of DND settings.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getPrivacyAuthorizationStatusSuccess:failure: [1/4]
Get privacy authorization status.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getPrivacyAuthorizationStatusSuccess:failure: [2/4]
Get privacy authorization status.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getPrivacyAuthorizationStatusSuccess:failure: [3/4]
Get privacy authorization status.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ getPrivacyAuthorizationStatusSuccess:failure: [4/4]
Get privacy authorization status.
- Parameters
-
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyDNDWithTimerID:DNDRequestModel:success:failure: [1/4]
Modifies DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyDNDWithTimerID:DNDRequestModel:success:failure: [2/4]
Modifies DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyDNDWithTimerID:DNDRequestModel:success:failure: [3/4]
Modifies DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyDNDWithTimerID:DNDRequestModel:success:failure: [4/4]
Modifies DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyOnceDNDWithTimerID:requestModel:success:failure: [1/4]
Modifies one-time DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyOnceDNDWithTimerID:requestModel:success:failure: [2/4]
Modifies one-time DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyOnceDNDWithTimerID:requestModel:success:failure: [3/4]
Modifies one-time DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ modifyOnceDNDWithTimerID:requestModel:success:failure: [4/4]
Modifies one-time DND time for devices.
- Parameters
-
timerID | The ID of the timer. |
requestModel | The model of a DND request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ removeDNDWithTimerID:success:failure: [1/4]
Removes DND time.
- Parameters
-
timerID | The ID of the timer. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ removeDNDWithTimerID:success:failure: [2/4]
Removes DND time.
- Parameters
-
timerID | The ID of the timer. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ removeDNDWithTimerID:success:failure: [3/4]
Removes DND time.
- Parameters
-
timerID | The ID of the timer. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ removeDNDWithTimerID:success:failure: [4/4]
Removes DND time.
- Parameters
-
timerID | The ID of the timer. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ setDeviceDNDSettingStatus:success:failure: [1/4]
Sets the DND status for devices.
- Parameters
-
flags | The switching status. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ setDeviceDNDSettingStatus:success:failure: [2/4]
Sets the DND status for devices.
- Parameters
-
flags | The switching status. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ setDeviceDNDSettingStatus:success:failure: [3/4]
Sets the DND status for devices.
- Parameters
-
flags | The switching status. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ setDeviceDNDSettingStatus:success:failure: [4/4]
Sets the DND status for devices.
- Parameters
-
flags | The switching status. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ updatePrivacyAuthorizationStatusWithModel:Success:failure: [1/4]
Update status of privacy authorization.
- Parameters
-
model | The model of a authorization request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ updatePrivacyAuthorizationStatusWithModel:Success:failure: [2/4]
Update status of privacy authorization.
- Parameters
-
model | The model of a authorization request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ updatePrivacyAuthorizationStatusWithModel:Success:failure: [3/4]
Update status of privacy authorization.
- Parameters
-
model | The model of a authorization request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
◆ updatePrivacyAuthorizationStatusWithModel:Success:failure: [4/4]
Update status of privacy authorization.
- Parameters
-
model | The model of a authorization request. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. ThingFailureError is returned. |
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartMessageKit/Build/ThingSmartMessageKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartMessageKit.framework/Headers/ThingSmartMessageSetting.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartMessageKit/Build/ThingSmartMessageKit.xcframework/watchos-arm64_i386_x86_64-simulator/ThingSmartMessageKit.framework/Headers/ThingSmartMessageSetting.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartMessageKit/Build/ThingSmartMessageKit.xcframework/ios-arm64/ThingSmartMessageKit.framework/Headers/ThingSmartMessageSetting.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartMessageKit/Build/ThingSmartMessageKit.xcframework/watchos-arm64_arm64_32_armv7k/ThingSmartMessageKit.framework/Headers/ThingSmartMessageSetting.h