Share via


VoiceInteractionSession.OnHandleScreenshot(Bitmap) Method

Definition

Called to receive a screenshot of what the user was currently viewing when an assist session is started.

[Android.Runtime.Register("onHandleScreenshot", "(Landroid/graphics/Bitmap;)V", "GetOnHandleScreenshot_Landroid_graphics_Bitmap_Handler", ApiSince=23)]
public virtual void OnHandleScreenshot (Android.Graphics.Bitmap? screenshot);
[<Android.Runtime.Register("onHandleScreenshot", "(Landroid/graphics/Bitmap;)V", "GetOnHandleScreenshot_Landroid_graphics_Bitmap_Handler", ApiSince=23)>]
abstract member OnHandleScreenshot : Android.Graphics.Bitmap -> unit
override this.OnHandleScreenshot : Android.Graphics.Bitmap -> unit

Parameters

screenshot
Bitmap
Attributes

Remarks

Called to receive a screenshot of what the user was currently viewing when an assist session is started. May be null if screenshots are disabled by the user, policy, or application. If the original show request did not specify #SHOW_WITH_SCREENSHOT, this method will not be called.

Java documentation for android.service.voice.VoiceInteractionSession.onHandleScreenshot(android.graphics.Bitmap).

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