ESTPeripheralNotificationDelegate

@protocol ESTPeripheralNotificationDelegate <NSObject>

Protocol defining delegate responsible for handling device notification.

  • Method invoked each time the peripheral receives a device notification, which it was subscribed to before.

    See

    -[ESTDeviceLocationBeacon registerNotification:].

    Declaration

    Objective-C

    - (void)peripheral:(id<ESTPeripheral>)peripheral
        didReceiveNotification:(id<ESTDeviceNotificationProtocol>)notification
                      withData:(NSData *)data;

    Swift

    func peripheral(_ peripheral: ESTPeripheral!, didReceiveNotification notification: ESTDeviceNotificationProtocol!, with data: Data!)

    Parameters

    peripheral

    Device peripheral that received a notification.

    notification

    Notification instance, same that was used to register.

    data

    Data to fire callback with.