MazdaApiLib/MazdaApiLocks.cs
/// <summary>
/// Unlocks the doors of the vehicle asynchronously.
/// </summary>
/// <param name="internalVin">The internal vehicle identity number for the vehicle which can be found with calls to methods that return vehicles</param>
Unlocks the doors of the vehicle asynchronously.
Unlocks the doors of the vehicle asynchronously .
public async Task UnlockDoorAsync(string internalVin)
        {
            CachedLockState lockState = GetCachedLockState(internalVin);
            lockState.RequestedLockState = false;
            lockState.RequestedLockTimestamp = DateTime.UtcNow;
            await _controller.SetDoorLockAsync(internalVin, false);
        }
public async Task UnlockDoorAsync ( string internalVin ) { CachedLockState lockState = GetCachedLockState ( internalVin ) ; lockState . RequestedLockState = false ; lockState . RequestedLockTimestamp = DateTime . UtcNow ; await _controller . SetDoorLockAsync ( internalVin , false ) ; }
Unlocks the doors of the vehicle asynchronously.
Unlocks the doors of the vehicle asynchronously .
internalVin
string
The internal vehicle identity number for the vehicle which can be found with calls to methods that return vehicles
The internal vehicle identity number for the vehicle which can be found with calls to methods that return vehicles