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
peripheralDevice peripheral that received a notification.
notificationNotification instance, same that was used to register.
dataData to fire callback with.
View on GitHub
ESTPeripheralNotificationDelegate Protocol Reference