Class LocalFileTileFetcher
public sealed class LocalFileTileFetcher : ITileFetcher, IDisposable
- Inheritance
-
objectLocalFileTileFetcher
- Implements
Constructors
LocalFileTileFetcher(int)
public LocalFileTileFetcher(int slotCount)
Parameters
slotCountint
Properties
BytesAreAlreadyDurable
public bool BytesAreAlreadyDurable { get; }
Property Value
SlotCount
public int SlotCount { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
IsFree(int)
public bool IsFree(int slot)
Parameters
slotint
Returns
LastError(int)
public TileFetchError LastError(int slot)
Parameters
slotint
Returns
Poll(int, out TileCoord, out float, out byte[], out int)
public FetchStatus Poll(int slot, out TileCoord tile, out float progress, out byte[] bytes, out int length)
Parameters
Returns
Poll(int, out TileCoord, out float, out byte[], out int, out bool)
public FetchStatus Poll(int slot, out TileCoord tile, out float progress, out byte[] bytes, out int length, out bool pooled)
Parameters
Returns
Release(int)
public void Release(int slot)
Parameters
slotint
Start(int, TileCoord, string)
public void Start(int slot, TileCoord tile, string path)