ESTDeviceFilter

@protocol ESTDeviceFilter <NSObject>

Protocol that every filter class used by ESTDeviceManager should conform to.

Defines predicate to be evaluated on ESTDevice subclass objects resulting from scanning and scan classes to be used by a bluetooth scanner underneath the ESTDeviceManager.

See

ESTDeviceManager, ECOScanInfoIBeacon.
  • Predicate that ESTDeviceManager evaluates on scan result objects to execute filtering by attribute (i.e. identifier).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSPredicate *_Nonnull devicesPredicate;

    Swift

    var devicesPredicate: NSPredicate { get }
  • Method returns array of packet classes needed by bluetooth scanner.

    Declaration

    Objective-C

    - (nonnull NSArray<Class> *)getScanInfoClasses;

    Swift

    func getScanInfoClasses() -> [AnyClass]

    Return Value

    Array of ECOScanInfo subclasses.