Bitmap.AsShared Method

Definition

Return an immutable bitmap backed by shared memory which can be efficiently passed between processes via Parcelable.

[Android.Runtime.Register("asShared", "()Landroid/graphics/Bitmap;", "", ApiSince=31)]
public Android.Graphics.Bitmap AsShared ();
[<Android.Runtime.Register("asShared", "()Landroid/graphics/Bitmap;", "", ApiSince=31)>]
member this.AsShared : unit -> Android.Graphics.Bitmap

Returns

Attributes

Remarks

Return an immutable bitmap backed by shared memory which can be efficiently passed between processes via Parcelable.

If this bitmap already meets these criteria it will return itself.

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

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