using Plugin.BLE.Abstractions.Contracts; using System; using System.Threading.Tasks; using TINK.Model.Device; namespace TINK.Services.BluetoothLock.BLE { public class LockItByScanServicePolling : LockItByScanServiceBase, ILocksService { public LockItByScanServicePolling(ICipher cipher, IBluetoothLE bluetoothLE, Func> isLocationPermissionMissingDelegate, Func isLocationRequiredAndOffDelegate) : base( cipher, (bleDevice, authInfo, adapter) => LockItPolling.Authenticate(bleDevice, authInfo, adapter, cipher), bluetoothLE, isLocationPermissionMissingDelegate, isLocationRequiredAndOffDelegate) { } } }