Method ToImageSourceAsync
ToImageSourceAsync(RuntimeImage)
Converts a RuntimeImage to a platform-native image type.
Declaration
public static async Task<Bitmap> ToImageSourceAsync(this RuntimeImage image)
Parameters
Type | Name | Description |
---|---|---|
RuntimeImage | image | Runtime Image to convert |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Android.Graphics.Bitmap> | A native platform bitmap image |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |