![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <WTLCluster.h>
Instance Methods | |
(BOOL filterByFabric) | - API_AVAILABLE |
(NSNumber *minEventNumber) | - API_AVAILABLE |
(NSNumber *fabricFiltered) | - WTL_DEPRECATED |
WTLReadParams This is used to control the behavior of attribute/event reads and subscribes. If not provided (i.e. nil passed for the WTLReadParams argument), will be treated as if a default-initialized object was passed in.
Definition at line 89 of file WTLCluster.h.
- (BOOL filterByFabric) API_AVAILABLE | (macos(13.3)) | ||
(watchos(9.4)) | |||
(tvos(16.4)) | |||
Whether the read/subscribe is fabric-filtered. The default is YES.
If YES, the read/subscribe is fabric-filtered and will only see things associated with the fabric of the reader/subscriber.
If NO, the read/subscribe is not fabric-filtered and will see all non-fabric-sensitive data for the given attribute path.
Implemented in WTLSubscribeParams, WTLSubscribeParams, WTLSubscribeParams, WTLSubscribeParams, and WTLSubscribeParams.
- (NSNumber *minEventNumber) API_AVAILABLE | (macos(13.3)) | ||
(watchos(9.4)) | |||
(tvos(16.4)) | |||
Sets a filter for which events will be reported in the read/subscribe interaction.
If nil (the default value), all of the queued events will be reported from lowest to highest event number.
If not nil, queued events with an event number smaller than minEventNumber will not be reported.
Implemented in WTLSubscribeParams, WTLSubscribeParams, WTLSubscribeParams, WTLSubscribeParams, and WTLSubscribeParams.
- (NSNumber *fabricFiltered) WTL_DEPRECATED | ("Please use filterByFabric") | ||
(macos(13.0, 13.3)) | |||
(watchos(9.1, 9.4)) | |||
(tvos(16.1, 16.4)) | |||
Provided by category WTLReadParams(Deprecated).