PlaybackCacheClient
Queries and edits the playback cache of the running NSDK session.
Declaration
public class PlaybackCacheClientRemarks
The cache exists while XR is initialized. Every call reads the current session, so one client keeps working across XR restarts, and throws InvalidOperationException while no session runs.
Constructors
public PlaybackCacheClient()
Summary
Methods
| Name | Type | Summary |
|---|---|---|
| ClearCache | void | Deletes every cached recording. Close every dataset opened from the cache first. |
| DeleteCached | void | Deletes the scan's cached recording. Close every dataset opened from the scan first. |
| GetCachedPlaybacks | IReadOnlyList<CachedPlayback> | Lists the scans in the cache, in no particular order. Makes no network call. |
| IsCached | bool | Whether the scan's recording is fully downloaded and extracted. Makes no network call. |
| async OpenAsync | Task<PlaybackDataset> | Opens the scan's recording, downloading it into the cache unless it is already there. The caller closes the dataset. |
Creates a client for the running NSDK session's playback cache.