다음을 통해 공유


CameraOfflineSession.CameraOfflineSessionCallback.OnReady Method

Definition

This method indicates that the offline switch call CameraCaptureSession#switchToOffline was successful.

[Android.Runtime.Register("onReady", "(Landroid/hardware/camera2/CameraOfflineSession;)V", "GetOnReady_Landroid_hardware_camera2_CameraOfflineSession_Handler", ApiSince=30)]
public abstract void OnReady (Android.Hardware.Camera2.CameraOfflineSession session);
[<Android.Runtime.Register("onReady", "(Landroid/hardware/camera2/CameraOfflineSession;)V", "GetOnReady_Landroid_hardware_camera2_CameraOfflineSession_Handler", ApiSince=30)>]
abstract member OnReady : Android.Hardware.Camera2.CameraOfflineSession -> unit

Parameters

session
CameraOfflineSession

the currently ready offline session

Attributes

Remarks

This method indicates that the offline switch call CameraCaptureSession#switchToOffline was successful.

This callback will be invoked once the offline session moves to the ready state.

Calls to CameraDevice#close will not have impact on the processing of offline requests once the offline session moves in ready state.

Java documentation for android.hardware.camera2.CameraOfflineSession.CameraOfflineSessionCallback.onReady(android.hardware.camera2.CameraOfflineSession).

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