Udostępnij za pośrednictwem


CameraCaptureSession.SupportsOfflineProcessing(Surface) Method

Definition

Query whether a given Surface is able to support offline mode.

[Android.Runtime.Register("supportsOfflineProcessing", "(Landroid/view/Surface;)Z", "GetSupportsOfflineProcessing_Landroid_view_Surface_Handler", ApiSince=30)]
public virtual bool SupportsOfflineProcessing (Android.Views.Surface surface);
[<Android.Runtime.Register("supportsOfflineProcessing", "(Landroid/view/Surface;)Z", "GetSupportsOfflineProcessing_Landroid_view_Surface_Handler", ApiSince=30)>]
abstract member SupportsOfflineProcessing : Android.Views.Surface -> bool
override this.SupportsOfflineProcessing : Android.Views.Surface -> bool

Parameters

surface
Surface

An input/output surface that was used to create this session or the result of #getInputSurface.

Returns

true if the surface can support offline mode and can be passed as argument to #switchToOffline. false otherwise.

Attributes

Remarks

Query whether a given Surface is able to support offline mode.

Surfaces that support offline mode can be passed as arguments to #switchToOffline.

Java documentation for android.hardware.camera2.CameraCaptureSession.supportsOfflineProcessing(android.view.Surface).

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