Return the time which an item was created IObservable GetCreatedAt( string key) * * Get Metadata about items */ // Return a list of all keys. Deletes all objects of type T IObservable InvalidateAllObjects() Deletes all items (regardless if they are objects or not) IObservable InvalidateAll() Deletes a list of objects IObservable InvalidateObjects( IEnumerable keys) Delete a single object (do *not* use Invalidate for items inserted with InsertObject!) IObservable InvalidateObject( string key) Delete a list of items IObservable Invalidate( IEnumerable keys)
* * Remove items from the store */ // Delete a single item IObservable Invalidate( string key) Insert a group of objects IObservable InsertObjects( IDictionary keyValuePairs, DateTimeOffset? absoluteExpiration = null) Insert a single object IObservable InsertObject( string key, T value, DateTimeOffset? absoluteExpiration = null)
Insert a set of items IObservable Insert( IDictionary keyValuePairs, DateTimeOffset? absoluteExpiration = null) * * Save items to the store */ // Insert a single item IObservable Insert( string key, byte data, DateTimeOffset? absoluteExpiration = null) Get a list of objects given a list of keys IObservable> GetObjects( IEnumerable keys) Get all objects of type T IObservable> GetAllObjects() Get an object serialized via InsertObject IObservable GetObject( string key) Get a list of items IObservable> Get( IEnumerable keys) * * Get items from the store */ // Get a single item IObservable Get( string key) There are two options to ensure the Akavache.Sqlite3 dll will not be removed by Xamarin build tools 1) Add a file to reference the types
Windows 10 (Universal Windows Platform) - You must mark your application as x86 You must also ensure that the Microsoft Visual C++ runtime Or ARM, or else you will get a strange runtime error about SQLitePCL_Raw not Windows Phone 8.1 Universal Apps - You must mark your application as x86
The design from the start often end up with inconsistent, duplicated code forĪkavache is a library that makes common app However, many applications that don't take the consideration of caching into UI responsive is a task that nearly every modern application needs to do.