Language

BitmapDrawable.GetConstantState メソッド

定義

この Drawable の共有状態を保持する Drawable ConstantState インスタンスを返します。

[Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "")]
public override sealed Android.Graphics.Drawables.Drawable.ConstantState? GetConstantState();
[<Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "")>]
override this.GetConstantState : unit -> Android.Graphics.Drawables.Drawable.ConstantState

返品

その Drawable に関連付けられている ConstantState。 この値は null である可能性があります。

属性

注釈

この Drawable の共有状態を保持する ConstantState インスタンスを返します。

android.graphics.drawable.BitmapDrawable.getConstantStateの Android リファレンス。

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

適用対象