Bitmap.GenerationId Property

Definition

Returns the generation ID of this bitmap.

public int GenerationId { [Android.Runtime.Register("getGenerationId", "()I", "")] get; }
[<get: Android.Runtime.Register("getGenerationId", "()I", "")>]
member this.GenerationId : int

Property Value

The current generation ID for this bitmap.

Attributes

Remarks

Returns the generation ID of this bitmap. The generation ID changes whenever the bitmap is modified. This can be used as an efficient way to check if a bitmap has changed.

Java documentation for android.graphics.Bitmap.getGenerationId().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to