AccessibilityService.ITakeScreenshotCallback.OnFailure(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when taking screenshot has failed.
[Android.Runtime.Register("onFailure", "(I)V", "GetOnFailure_IHandler:Android.AccessibilityServices.AccessibilityService/ITakeScreenshotCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnFailure (int errorCode);
[<Android.Runtime.Register("onFailure", "(I)V", "GetOnFailure_IHandler:Android.AccessibilityServices.AccessibilityService/ITakeScreenshotCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnFailure : int -> unit
Parameters
- errorCode
- Int32
The error code of this operation.
- Attributes
Remarks
Called when taking screenshot has failed. errorCode
will identify the reason of failure.
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.