Android Guides | Samples

Android.Graphics.Bitmap.GenerationId Property

Returns the generation ID of this bitmap.

Syntax

[get: Android.Runtime.Register("getGenerationId", "()I", "GetGetGenerationIdHandler")]
public Int32 GenerationId { get; }

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.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12