BitmapFactory.DecodeResourceAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| DecodeResourceAsync(Resources, Int32) | |
| DecodeResourceAsync(Resources, Int32, BitmapFactory+Options) |
DecodeResourceAsync(Resources, Int32)
public static System.Threading.Tasks.Task<Android.Graphics.Bitmap?> DecodeResourceAsync(Android.Content.Res.Resources? res, int id);
static member DecodeResourceAsync : Android.Content.Res.Resources * int -> System.Threading.Tasks.Task<Android.Graphics.Bitmap>
参数
- res
- Resources
- id
- Int32
返回
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
DecodeResourceAsync(Resources, Int32, BitmapFactory+Options)
public static System.Threading.Tasks.Task<Android.Graphics.Bitmap?> DecodeResourceAsync(Android.Content.Res.Resources? res, int id, Android.Graphics.BitmapFactory.Options? opts);
static member DecodeResourceAsync : Android.Content.Res.Resources * int * Android.Graphics.BitmapFactory.Options -> System.Threading.Tasks.Task<Android.Graphics.Bitmap>
参数
- res
- Resources
- id
- Int32
返回
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。