Method ToRuntimeImageAsync
ToRuntimeImageAsync(Bitmap)
Converts a native platform image to a runtime image data container type
Declaration
public static async Task<RuntimeImage> ToRuntimeImageAsync(this Bitmap image)
Parameters
| Type | Name | Description |
|---|---|---|
| Android.Graphics.Bitmap | image | The input input |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<RuntimeImage> | Image data container |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | 200.3 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |