WallpaperManager.FastDrawable 属性

定义

<strong> Important Note: </strong><ul><li>Up to version S, this method requires the android.Manifest.permission#READ_EXTERNAL_STORAGE permission.

public virtual Android.Graphics.Drawables.Drawable? FastDrawable { [Android.Runtime.Register("getFastDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetFastDrawableHandler")] get; }
[<get: Android.Runtime.Register("getFastDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetFastDrawableHandler")>]
member this.FastDrawable : Android.Graphics.Drawables.Drawable

属性值

所请求壁纸的可绘制对象。

属性

注解

<strong> Important Note: </strong><ul><li>Up to version S, this method requires the android.Manifest.permission#READ_EXTERNAL_STORAGE permission.</li li>><Starting in T, directly access the wallpaper is not possible anymore, instead the default wallpaper is returned (某些版本的 T 可能引发)。SecurityException</li li><>From version U, this method not be used and will always throw a

适用于 . 的 android.app.WallpaperManager.getFastDrawable()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于