CameraOfflineSession.CameraOfflineSessionCallback.OnError 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.
This method is called when the offline session encounters an unexpected error.
[Android.Runtime.Register("onError", "(Landroid/hardware/camera2/CameraOfflineSession;I)V", "GetOnError_Landroid_hardware_camera2_CameraOfflineSession_IHandler", ApiSince=30)]
public abstract void OnError (Android.Hardware.Camera2.CameraOfflineSession session, int status);
[<Android.Runtime.Register("onError", "(Landroid/hardware/camera2/CameraOfflineSession;I)V", "GetOnError_Landroid_hardware_camera2_CameraOfflineSession_IHandler", ApiSince=30)>]
abstract member OnError : Android.Hardware.Camera2.CameraOfflineSession * int -> unit
Parameters
- session
- CameraOfflineSession
the current offline session
- status
- Int32
error status
- Attributes
Remarks
This method is called when the offline session encounters an unexpected error.
This notification will only be invoked for sessions that reached the ready state. Clients will need to call CameraOfflineSession#close
to close and release all resources. #onClosed
will not be triggered automatically in error scenarios.
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.