ESTDeviceFilterNearable
@interface ESTDeviceFilterNearable : NSObject <ESTDeviceFilter>
Class defines scanning & filtering attributes required by ESTDeviceManager to discover devices that can be connected to. Results in -[ESTDeviceManagerDelegate deviceManager:didDiscoverDevices:] being called with a collection of ESTDeviceNearable objects.
See
-[ESTDeviceManager startDeviceDiscoveryWithFilter:].-
Initializes ESTDeviceFilterNearable object without a predicate. Use this init to discover devices that can be connected to without additional filtering.
Declaration
Objective-C
- (nonnull instancetype)init;Swift
init()Return Value
Initialized filter object.
-
Initializes ESTDeviceFilterNearable object with a predicate for filtering by identifier. Use this method to find a particular device that can be connected to, since the identifier is unique for Estimote devices.
Declaration
Objective-C
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier;Swift
init(identifier: String)Parameters
identifierIdentifier of the searched device.
Return Value
Initialized filter object.
View on GitHub
ESTDeviceFilterNearable Class Reference