Maintains a thread that issues PollingAPI requests
at regular intervals and passes the results to an
IPollingHandler.
Namespace:
Veriplace.Client.AsyncAssembly: Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)
Syntax
| C# |
|---|
public class PollingManager |
| Visual Basic (Declaration) |
|---|
Public Class PollingManager |
| Visual C++ |
|---|
public ref class PollingManager |
Remarks
If IntervalSeconds is not specified, the polling interval will be set to the default value provided by the Veriplace server after the first successful PollingAPI query.
By default, this class calls GetLocationAccessToken(User) as needed to obtain access tokens for getting users' locations, and stores the tokens in an in-memory cache. If you have your own token caching mechanism, you can pass your own implementation of IUserTokenStore to the constructor.
Inheritance Hierarchy
System..::.Object
Veriplace.Client.Async..::.PollingManager
Veriplace.Client.Async..::.PollingManager