Class CachedImageDownloader
Allows for downloading images from GroupMe and storing them in a cache.
Inherited Members
Namespace: GroupMeClientApi
Assembly: GroupMeClientApi.dll
Syntax
public class CachedImageDownloader : ImageDownloader
Constructors
| Improve this Doc View SourceCachedImageDownloader(String)
Initializes a new instance of the CachedImageDownloader class.
Declaration
public CachedImageDownloader(string cacheFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| String | cacheFolder | The folder path to store cached images in. |
Methods
| Improve this Doc View SourceDownloadAvatarImageAsync(String, Boolean)
Downloads an Avatar Image from GroupMe.
Declaration
public override Task<byte[]> DownloadAvatarImageAsync(string url, bool isGroup = true)
Parameters
| Type | Name | Description |
|---|---|---|
| String | url | The URL of the avatar image. |
| Boolean | isGroup | Indicates if the avatar is for a group (true) or a chat (false). |
Returns
| Type | Description |
|---|---|
| Task<Byte[]> | An image. |