PosSharp v1.2.0 API Reference
---
#### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core')
### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core').[UposDeviceBase](PosSharp.Core.UposDeviceBase 'PosSharp\.Core\.UposDeviceBase')
## UposDeviceBase\.OnClearInputAsync\(CancellationToken\) Method
Called by [ClearInputAsync\(CancellationToken\)](PosSharp.Core.UposDeviceBase.ClearInputAsync(System.Threading.CancellationToken).md 'PosSharp\.Core\.UposDeviceBase\.ClearInputAsync\(System\.Threading\.CancellationToken\)') to clear input buffers\.
```csharp
protected abstract System.Threading.Tasks.Task OnClearInputAsync(System.Threading.CancellationToken ct);
```
#### Parameters
`ct` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken')
Cancellation token\.
#### Returns
[System\.Threading\.Tasks\.Task](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task 'System\.Threading\.Tasks\.Task')
A task representing the asynchronous operation\.