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