WallpaperManager.PeekFastDrawable メソッド

定義

オーバーロード

名前 説明
PeekFastDrawable()

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。

PeekFastDrawable(WallpaperManagerFlags)

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。

PeekFastDrawable()

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。

[Android.Runtime.Register("peekFastDrawable", "()Landroid/graphics/drawable/Drawable;", "GetPeekFastDrawableHandler")]
public virtual Android.Graphics.Drawables.Drawable? PeekFastDrawable();
[<Android.Runtime.Register("peekFastDrawable", "()Landroid/graphics/drawable/Drawable;", "GetPeekFastDrawableHandler")>]
abstract member PeekFastDrawable : unit -> Android.Graphics.Drawables.Drawable
override this.PeekFastDrawable : unit -> Android.Graphics.Drawables.Drawable

返品

要求された壁紙用に最適化された Drawable オブジェクト。 この値は null である可能性があります。

属性

注釈

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。 それ以外の場合は、SecurityException がスローされます。 getFastDrawable() と同じです。

関連項目も参照:

スロー: 注の説明に従って SecurityException

android.app.WallpaperManager.peekFastDrawableの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

PeekFastDrawable(WallpaperManagerFlags)

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。

[Android.Runtime.Register("peekFastDrawable", "(I)Landroid/graphics/drawable/Drawable;", "GetPeekFastDrawable_IHandler", ApiSince=34)]
public virtual Android.Graphics.Drawables.Drawable? PeekFastDrawable(Android.App.WallpaperManagerFlags which);
[<Android.Runtime.Register("peekFastDrawable", "(I)Landroid/graphics/drawable/Drawable;", "GetPeekFastDrawable_IHandler", ApiSince=34)>]
abstract member PeekFastDrawable : Android.App.WallpaperManagerFlags -> Android.Graphics.Drawables.Drawable
override this.PeekFastDrawable : Android.App.WallpaperManagerFlags -> Android.Graphics.Drawables.Drawable

パラメーター

which
WallpaperManagerFlags

int: 有効な壁紙の種類のFLAG_* 識別子。 無効な壁紙が要求された場合に IllegalArgumentException をスローします。 値は 0 または次の組み合わせです:FLAG_SYSTEM FLAG_LOCK

返品

要求された壁紙用に最適化された Drawable オブジェクト。 この値は null である可能性があります。

属性

注釈

重要な注意: この方法を使用するのは、Manifest.permission.MANAGE_EXTERNAL_STORAGEを持つアプリのみです。 それ以外の場合は、SecurityException がスローされます。 getFastDrawable(int) と同じです。

スロー: パラメーター

スロー: 注の説明に従って SecurityException

android.app.WallpaperManager.peekFastDrawableの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象