ESTDeviceFilterLocationBeacon
@interface ESTDeviceFilterLocationBeacon : 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 ESTDeviceLocationBeacon objects.
See
-[ESTDeviceManager startDeviceDiscoveryWithFilter:].-
Initializes ESTDeviceFilterTypeUtility 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 ESTDeviceFilterTypeUtility 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
identifier
Identifier of the searched device.
Return Value
Initialized filter object.
-
Initializes ESTDeviceFilterTypeUtility object with a predicate for filtering by identifiers. Use this method to find a particular devices with given identifiers that can be connected to, since the identifier is unique for Estimote devices.
Declaration
Objective-C
- (nonnull instancetype)initWithIdentifiers: (nonnull NSArray<NSString *> *)identifiers;
Swift
init(identifiers: [String])
Parameters
identifiers
Array of searched devices’ identifiers.
Return Value
Initialized filter object.