BKDecryptSecureBeaconsDelegate
public protocol BKDecryptSecureBeaconsDelegate
Delegate for the SecureBeacon decryption
Decrypt Delegate is registred by BKClient.decryptSecureBeaconDelegate
-
Will be called if
BKClient.decryptSecureBeacons(discoveryDataList:)
is successfully requested. ParameterdecryptedDiscoveryDataList
contains all list items contained as parameter inBKClient.decryptSecureBeacons(discoveryDataList:)
. If the authenticated blukii Manager user is owner of list items that are marked withBKDiscoveryData.secureBeaconState
asBKSecureBeaconState.encrypted
, these are decrypted.Declaration
Swift
func onDecryptSecureBeacons(_ decryptedDiscoveryDataList: [BKDiscoveryData], decryptedCount: Int)
Parameters
decryptedDiscoveryDataList
result list of discoveryData objects
decryptedCount
count of items that are decrypted
-
Will be called if
BKClient.decryptSecureBeacons(discoveryDataList:)
requested has done with errors.Declaration
Swift
func onDecryptError(_ error: Error)
Parameters
error
Contains an error message