Android.Views.TextureView.Bitmap Property

Syntax

[get: Android.Runtime.Register("getBitmap", "()Landroid/graphics/Bitmap;", "GetGetBitmapHandler")]
public virtual Android.Graphics.Bitmap Bitmap { get; }

See Also

TextureView.IsAvailable
TextureView.GetBitmap(Android.Graphics.Bitmap)
TextureView.GetBitmap(int, System.Int32)

Value

Documentation for this section has not yet been entered.

Remarks

Returns a Android.Graphics.Bitmap representation of the content of the associated surface texture. If the surface texture is not available, this method returns null.

The bitmap returned by this method uses the NoType:android/graphics/Bitmap$Config;Href=../../../reference/android/graphics/Bitmap.Config.html#ARGB_8888 pixel format and its dimensions are the same as this view's.

Do not invoke this method from a drawing method (TextureView.OnDraw(Android.Graphics.Canvas) for instance).

If an error occurs during the copy, an empty bitmap will be returned.

[Android Documentation]

Requirements

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